3 ms·
I suppose if you happened to previously have code with the string 'use strict'; at the top, and did non-strict things below, it would break. In a very small sca
by matthewbauer 7y ago
I suppose if you happened to previously have code with the string 'use strict'; at the top, and did non-strict things below, it would break. In a very small scale, that does break backwards compatibility.
- sammorrowdrums 7y agoI'd love to find out if there was anyone affected in reality. It seems improbable, as random string statements with no assignment is a pretty niche way to comment code, or surely it would have been mistake. But there's so much poorly written JS on the web that there is a chance!