It doesn't matter. Others will do the same thing in ES6 and then break under your proposal in ES7.
On Thu, Apr 30, 2015 at 11:42 AM, C. Scott Ananian <[email protected]> wrote: > On Thu, Apr 30, 2015 at 2:22 PM, Mark S. Miller <[email protected]> > 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? > --scott > -- Cheers, --MarkM
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

