"use strict"; prepended blindly to scripts in the wild
brendan at mozilla.com
Tue Sep 7 10:21:23 PDT 2010
See, e.g., https://bugzilla.mozilla.org/show_bug.cgi?id=593963 -- but this is not the first instance. Previously: https://bugzilla.mozilla.org/show_bug.cgi?id=579119.
Anyone know of bad advice somewhere, or a code generator doing the prepending, or anything else we should evangelize aggressively either to stop pasting "use strict"; blindly, or do do the testing to make sure the code passes in a conforming ES5 implementation (when ready; Firefox 4 betas have strict mode nearing completion).
More information about the es-discuss