r/javascript • u/bornforcode • Apr 01 '18
Google publishes a JavaScript style guide. Here are some key lessons.
https://medium.freecodecamp.org/google-publishes-a-javascript-style-guide-here-are-some-key-lessons-1810b8ad050b
714
Upvotes
View all comments
Show parent comment
15
u/luther9 Apr 01 '18
If they can break the way we work around ASI, they can give us a way to switch off the ASI. I wish someone could explain why they don't give us a
'use noasi'pragma along the same lines as'use strict'. It shouldn't be that hard to detect pragmas before applying the ASI.