34 ms·
I use "use strict" on JavaScript that runs over IE8/9 and I don't get errors from it.
by Zardoz84 12y ago
I use "use strict" on JavaScript that runs over IE8/9 and I don't get errors from it.
- girvo 12y agoThat's because "use strict" is ignored in IE8/9 (thankfully). You usually won't run into any issues, but if you're relying on strict-mode for certain semantics you can run into some very subtle bugs. The chances of that are super low though, I've only ever done it on purpose :)