Object.getPrototypeOf vs. Reflect.getPrototypeOf

Claude Pache claude.pache at gmail.com
Sat Dec 6 07:54:47 PST 2014

> Le 6 déc. 2014 à 12:13, Andrea Giammarchi <andrea.giammarchi at gmail.com> a écrit :
> I also would like to know if freezing or sealing an object should block the operation so that `Reflect.setPrototypeOf` could return false.

Successfully freezing, sealing, or preventing extensions makes the prototype immutable, without regard to what API is used to attempt to change it. More generally, see:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141206/d94be4a2/attachment.html>

More information about the es-discuss mailing list