2013/1/2 Allen Wirfs-Brock <al...@wirfs-brock.com> > > Symbols don't need to fail on [[PreventExtensions]]. It always succeeds > for them since they are born non-extensible. >
Sounds reasonable. > The major user facing change here is the possibility that > Object.preventExtensions will through if the object can not be made > non-extensible. This wasn't specified in ES5, but I'm ok making that > change. > Ok. Recall that in the old Proxy API, we already had the fix() trap returning a boolean, and Object.{preventExtensions,seal,freeze} throwing on false. Cheers, Tom
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss