Object.freezing proxies should freeze or throw?

Raul-Sebastian Mihăilă raul.mihaila at gmail.com
Tue Aug 9 16:58:47 UTC 2016


Claude, I don't see how non-extensibility and deleting properties are
connected.


> ```js
> var target = Object.preventExtensions({ x: 1 })
> var proxy = new Proxy(target, {
>     deleteProperty() { return true }
> })
>
> Object.isExtensible(proxy) // false
> delete proxy.x // true
> proxy.hasOwnProperty('x') // true
> ```
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160809/66f9c630/attachment.html>


More information about the es-discuss mailing list