This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Examples where lack of semicolons break things | |
// Example 1: | |
function a() { return "a" } | |
function b() { return "b" } | |
var foo = [1,2,3]; // <--- remove this semicolon to break things | |
-1 == a() || b(); |