Upcoming change to property descriptors

David Bruant bruant.d at gmail.com
Thu Nov 22 13:51:05 PST 2012


 From the Bugzilla [1], Allen:
"(...) in rev 12 [property descriptors] have been enhanced to include a 
reference to the object (if any) they were produced from. This permits 
an descriptor object to pass through the traps behind 
Object.getOwnpropertyDesceriptor and Object.defineOwnProperty without 
loosing any extension attributes"
I'm not sure I fully understand how this would work.
Would it affect current calls?


[1] https://bugs.ecmascript.org/show_bug.cgi?id=863#c1

More information about the es-discuss mailing list