On 13 November 2014 12:25, Andrea Giammarchi
<[email protected]> wrote:
> well, Proxy can be a diabolic beast
>
> ```js
> Object.setPrototypeOf(
>   Object.prototype,
>   new Proxy(Object.prototype, evilPlan)
> )
> ```
>
> having no way to understand if an object is a Proxy looks like a footgun to
> me in the long term, for libraries, and "code alchemists"

Well, the actual diabolic beast and universal foot gun in this example
is setPrototypeOf. ;)

/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to