<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 6 déc. 2014 à 12:13, Andrea Giammarchi <<a href="mailto:andrea.giammarchi@gmail.com" class="">andrea.giammarchi@gmail.com</a>> a écrit :</div><div class=""><div dir="ltr" class=""><div class=""><span style="font-size:13px" class=""><br class=""></span></div><div class=""><span style="font-size:13px" class="">I also would like to know if freezing or sealing an object should block the operation so that </span><span style="font-size:13px" class="">`Reflect.setPrototypeOf` could return false.</span></div><div class=""><span style="font-size:13px" class=""><br class=""></span></div></div></div></blockquote><div><br class=""></div>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:</div><div><br class=""></div><div><a href="http://people.mozilla.org/~jorendorff/es6-draft.html#sec-invariants-of-the-essential-internal-methods" class="">http://people.mozilla.org/~jorendorff/es6-draft.html#sec-invariants-of-the-essential-internal-methods</a></div><br class=""><div class="">—Claude</div></body></html>