Originally Posted by felgall
if you want to use strict, then it gets uglier, but i think loading loading gloabls via url is often needed, jquery plugins for example want self.$.
document.body.appendChild( document.createElement( 'script' ) ).src=
encodeURIComponent( ' "use strict"; alert( "lucas" ) ' );
as an aside, i hardly think strict is somehow favored over normal js, or that full js is antiquated in any fashion by the opt-in strict subset validation...
BROWSER STATS [% share]
(2013/10/31) IE7:0.5, IE8:8.6, IE9:5.3, IE10:12.3, FF:17.7, CH:41.8, SF:8.1, MOBILE:20.4