Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
serpent56838yAnd now you can get on your high horse about how no one is a real JavaScript developer until they understand ASI. 😉
-
Cruiser14998yYou can open your code to some weird, hard to find bugs by doing this. The interpreter is going to insert them for you and it doesn't always guess right
-
dilshah2268ySemicolon was bestowed upon us by the heavens. You should ask for forgiveness for your blasphemous comment
-
elgamine2838yI do too, caught me once only, an array followed by a parenthesis on the next line. Apart from that, be sure to use a preprocessor or transpiler and everything will be fine
-
AllenII16188yWhile i do agree, i literally had a problem with a missing semicolon today--mind you, i knew exactly where i missed it and fixed it in 5 seconds, but all I'm saying is that leaving them out can cause much avoidable grief
Related Rants
Recently started using js without semicolons...
Personal opinion but I think semicolons do make the code look ugly
undefined
beautiful code
semicolons
js