Hacker News new | ask | show | jobs
by kijin 3209 days ago
Javascript: automatically inserts semicolons for you at the end of a line, but doesn't allow commas at the end of a list.
1 comments

JavaScript does allow commas at the end of a list! :)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Not if you want your code to work in certain versions of Internet Explorer :(
Nobody (1) cares for those versions of IE anymore.

(1) where nobody = limit(somebody) -> 0