r/javascript • • Feb 05 '11

Are Semicolons Necessary in JavaScript?

http://aresemicolonsnecessaryinjavascript.com/
0 Upvotes

66 comments sorted by

View all comments

6

u/andrewrjones Feb 05 '11

Personally, I prefer using semicolons to significant whitespace.

4

u/[deleted] Feb 06 '11

I use semicolons because the compressor removes it anyways. And besides, it's habit from being a php developer. Context switching is not always easy.