Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 3: Fundamentals of JavaScript Programming!
You have completed (UPI) Chapter 3: Fundamentals of JavaScript Programming!
Instruction
Automatic Semicolon Insertion and Reserved Words in JavaScript
Automatic Semicolon Insertion (ASI)
In languages of the C-family, the semicolon denotes the end of a statement. Unlike other C-like languages, JavaScript doesn't enforce that. Instead, the semicolon is optional, and the interpreter adds missing semicolonsβmostly at the end of a lineβto terminate statements. Doing so, it takes complex rules into account. This may conflict with the intende...