On Mon, Apr 20, 2009 at 1:03 PM, Allen Wirfs-Brock
<[email protected]> wrote:
> [...] There are a number of coding idioms that could be used to dynamically 
> determine whether or not code is operating in strict mode. I guess the 
> question really is whether those idioms are adequate for the above eval based 
> scenario.


  if (function(){return this;}()) {
    // non-strict case
  } else {
    // strict case
  }



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

Reply via email to