On Thu, Apr 30, 2015 at 2:22 PM, Mark S. Miller <erig...@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? --scott
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss