by knowtheory · 15y ago · 0 comments
var a =
42
is only parseable one way because assignment requires an argument.Javascript just happens to make assumptions with certain kinds of ambiguities, but then, all programming languages do.
Thanks for the reference. I still think this is a general issue, and calling it semicolon insertion confuses the issue :\