Re: [whatwg] [[GetOwnProperty]] for named properties of the Window object

On 9/12/13 2:36 PM, Gavin Barraclough wrote:
> Hmmm, interesting.  I was thinking that in the case that a shadowing
> property was put to the named property object itself

Can't be done.  Looking at the ES5 [[Put]], ownDesc is a data descriptor 
here, so we land in step 3b, which calls [[DefineOwnProperty]], which is 
defined at 
and throws if "Throw" and silently does nothing otherwise.  ES6 is similar.

> then deleted

Also can't be done.  See

> Many thanks,

No problem!


Received on Thursday, 12 September 2013 18:44:20 UTC