Javascript and semicolon insertion
inimino.org
inimino.org
[a].forEach(fn(){})
[b].forEach(fn(){})
// Parses as [a][b]
return
a+b
// Parses as return;
You would have to work pretty hard to trigger the rest.I'm curious about the speed trade offs from removing semicolons. You shrink the source code a little, but does the parser throwing exceptions all the time bump up execution time?
"Cool" layouts are all fun and games, but usability is king.
If not, I'll probably find a workaround eventually.