3 ms·
In JavaScript this is best done using linters to warn against deprecated features. “Use strict” was necessary because it changed runtime semantics in a non-bac
by bazoom42 4y ago
In JavaScript this is best done using linters to warn against deprecated features.
“Use strict” was necessary because it changed runtime semantics in a non-backwards compatible way. But browser vendors does not like to support multiple incompatible modes, it is much preferrable to introduce improvents in a backwards-compatible manner.