Are JavaScript Semi-Colons Optional?

added by JavaScript Kicks
12/11/2019 7:25:24 AM

237 Views

Sometimes. The Curious Case of One Little Semi-Colon In this article I will demonstrate very quickly that leaving out a semi-colon could cause problem. Automatic Semi-Colon Insertion The JavaScript parser will automatically add a semicolon when, during the parsing of the source code, it finds these particular...


0 comments