Is “use strict” Safe for Live Sites?
问题 "use strict"; seems awesome, and we'd really like to use it at our shop. However, we just want it so that we (the developers) can find strictness-issues; we very much DO NOT want to make our site break for our actual customers when it was working fine before. Now, we could just use some server-side logic to achieve this: {% if debug %}<script>"use strict";</script>{% endif %} ... except that "use strict" operates on a file-by-file basis, so that won't actually work (well, unless we start