Due to the "religious war" in my current workplace, I decided to research the history of the ASI javascript function.
But it's hard for me to understand why and when ASI was introduced in javascript.
It seems like it was a function forever, but is there a specific reason there are two ways to stop asserting in javascript?
Some sources describe ASI as an error correction function, which implies that lowering half-columns is bad practice.
Is there any impact on the use of ASI?
Personally, I prefer semicolons because it makes intentions more explicit, but personal preferences are not a viable argument in any serious discussion.
source share