Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
gherkinnn
6y ago
0 comments
Share
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.
0 comments
default
newest
oldest
fenomas
6y ago
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.
gherkinnn
OP
6y ago
Quite right. As do other examples.
slimed
6y ago
Thank you. I have yet to see an example in this thread or anywhere else that did not fall into this category.
j
/
k
navigate · click thread line to collapse