From: es-discuss [mailto:[email protected]] On Behalf Of C. Scott 
Ananian

> But in the code given previously, I've used `Object.setPrototypeOf` to 
> effectively change the type of the object -- but [[PromiseConstructor]] 
> doesn't follow along.

That is exactly the kind of tampering that the unforgable 
[[PromiseConstructor]] mechanism is meant to prevent.

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

Reply via email to