Hacker News new | ask | show | jobs
by axeldelmas 4125 days ago
You'd spot that right away if you had a visual jshint/jslint plugin in your IDE. It's a real time saver to have one: there are dozens of cases like your example that are valid JS, although it's not what you intended to write.