*.empty Idea

C. Scott Ananian ecmascript at cscott.net
Thu Apr 30 18:42:35 UTC 2015

On Thu, Apr 30, 2015 at 2:22 PM, Mark S. Miller <erights at google.com> wrote:

> It would also not be compatible with ES6 code. SES will be freezing Map,
> Set, WeakMap, and WeakSet instances in order to tamper proof their API. I
> expect many others will as well. Having this freeze then cause a
> non-mutability in ES7 will break all such ES6 code. This is a non-starter
> all around.

Couldn't SES use Object.seal/Object.preventExtensions/Object.defineProperty
to perform tamper-proofing without flipping the "frozen" bit?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150430/0f891524/attachment.html>

More information about the es-discuss mailing list