What is the Process behind Javascript is not strict on semicolons? [duplicate]

I am new to React Native, I have this doubt because i am new to Javascript. Can anyone plz kindly explain me the process behind this. Why Javascript is considering semicolons optional