Why use semicolon? [duplicate]

Because JavaScript does nasty things to you when it guesses where to put semicolons. It’s better to be explicit and let the interpreter know exactly what you meant than it is to let the idiot box guess on your behalf.

References:

…and a cast of thousands.

Leave a Comment