Hacker News new | ask | show | jobs
by gherkinnn 2314 days ago
A typical response is

  return

  false
Where the program returns undefined. I can only think of these examples as straw men. Not once did I run in to an ASI bug.
2 comments

Note though, that this ambiguity doesn't really affect the whole "whether to use semicolons" debate either way. If anything, it's more likely to occur in code that does use semicolons than in code that doesn't.
Quite right. As do other examples.
Thank you. I have yet to see an example in this thread or anywhere else that did not fall into this category.