On Sep 25, 2009, at 4:22 PM, Charles Jolley wrote:

Not sure how you can assume the latter from the former:

if (! function() { "use strict"; return this; }()) {
"use strict";

/* I'm an ES5 browser and DEFINITELY in strict mode now; doesn't matter what came before me... */
}

Gotcha -- I wouldn't call that assuming, since you had to say "use strict" twice. But I was being a logic nerd. Carry on!

/be

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to