Object Initialiser Extensions Strawman

Allen Wirfs-Brock Allen.Wirfs-Brock at microsoft.com
Wed Aug 12 11:57:36 PDT 2009


That's correct...if you want to badly enough (and know how) you can modify a configurable readonly property but it takes more than a simple property assignment to do so.
Allen

From: es-discuss-bounces at mozilla.org [mailto:es-discuss-bounces at mozilla.org] On Behalf Of Ash Berlin
Sent: Wednesday, August 12, 2009 11:49 AM
...
What's difference in behaviour does { configurable: true, writable: false } give versus { configurable: true, writable: true }? Is it that you'd have to delete the property and recreate it or change it with Object.defineProperty?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090812/c1a26eda/attachment-0001.html>


More information about the es-discuss mailing list