According to the ES5 spec, should the following program alert the global
object or undefined? Why?

    Object.defineProperty(this, 'foo', {get:function(){"use strict"; return
this;}});
    alert((function(){"use strict"; return foo;})());


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

Reply via email to