2 ms·
That is just not true. You can write semi-less JS modules, strict mode and ASI are orthogonal.
by pygy_ 6y ago
That is just not true. You can write semi-less JS modules, strict mode and ASI are orthogonal.
- CuriousSkeptic 6y agoIndeed, just read the spec: https://tc39.es/ecma262/#sec-automatic-semicolon-insertion https://tc39.es/ecma262/#sec-automatic-semicolon-insertion No mention of strict mode in the section of ASI. Could have sworn that the ASI issues I’ve ran into in the past was resolved by using strict mode, not sure what I’ve got that from.