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 http://dev.w3.org/2006/webapi/WebIDL/#named-properties-object-defineownproperty and throws if "Throw" and silently does nothing otherwise. ES6 is similar.
then deleted
Also can't be done. See http://dev.w3.org/2006/webapi/WebIDL/#named-properties-object-delete
Many thanks,
No problem! -Boris
