Comment on Semicolons in JavaScript are optionalComments−jameskilton16yI use semicolons, and a linter to let me know when I miss them, because IE pukes all over itself if I don't. Same with trailing commas, IE HATES those.Article ignores reality.−lhorie16yI'd like to see an example of IE breaking without semi-colons. I've never seen that happen before. (I have seen the issue w/ commas though)−lhorie16yWhy the downvote? A google search didn't turn up anything about a IE-only lack of conformance to the spec regarding semicolons.If you've seen code that breaks only IE because of a missing semicolon, please share.
Comments
I use semicolons, and a linter to let me know when I miss them, because IE pukes all over itself if I don't. Same with trailing commas, IE HATES those.
Article ignores reality.
I'd like to see an example of IE breaking without semi-colons. I've never seen that happen before. (I have seen the issue w/ commas though)
Why the downvote? A google search didn't turn up anything about a IE-only lack of conformance to the spec regarding semicolons.
If you've seen code that breaks only IE because of a missing semicolon, please share.