Status: New
Owner: ----

New issue 809 by tvcutsem: Object.seal(obj) and Object.freeze(obj) return undefined instead of obj
http://code.google.com/p/v8/issues/detail?id=809

According to the ES262 spec (15.3.2.8-9), the ES5 functions Object.seal(obj) and Object.freeze(obj) should always return 'obj' itself. In a v8 shell on my mac (version 2.3.4.1, rev 5169) both of these return 'undefined'. Object.preventExtensions seems to do the right thing.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to