You Don’t Know JS: Automatic Semicolons

One of the most hotly contested religious wars in the JS community (besides tabs vs spaces) is whether to rely heavily/exclusively on ASI or not. Most, but not all, semicolons are &optional.

[…]

Let me just share my perspective.

[…]

Getting some flashbacks to 2012, when discussions about JavaScript’s Automatic Semicolon Insertion (ASI) were all the rage.

For what it’s worth: I always end my statements with semicolons, as does Obama.

You Don’t Know JS: Automatic Semicolons →

PS: Go #teamtabs!

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.