JavaScript For Java Developers
Spaces, new lines, tabs, semicolons.
“Semicolon insertion was a huge mistake”. Douglas Crockford
The topic contains problems related to:
- "Automatic semicolon insertion" (ASI);
- "defensive semicolon" concept;
- The five problematic tokens;
- five restricted productions;
- Immediately-Invoked Function Expression (IIFE)
Set of the problems:
Links to read: