9.1.2 [[SetPrototypeOf]] (V)

raul mihaila raul.mihaila at gmail.com
Mon Jun 30 01:18:40 PDT 2014


While reading the SetPrototypeOf algorithm I noticed that some steps are
repeated. At step 5, if O.[[Extensible]] is false, the method returns
false. But at step 8, the same condition is checked again. It seems to me
that between these steps neither the value of O, nor the value of
O.[[Extensible]] changes. Aren't steps 7 and 8 redundant?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140630/9b2a8562/attachment.html>


More information about the es-discuss mailing list