super.prop assignment can silently overwrite non-writable properties

Tom Van Cutsem tomvc.be at gmail.com
Wed Apr 22 14:18:08 UTC 2015


2015-04-22 13:44 GMT+02:00 Kevin Smith <zenparsing at gmail.com>:

> Assume let x = {};  (i.e. no property definition for "prop" on x.)
>
> "y" is the receiver, so if you fall back to calling the receiver's
> accessor somewhere in 5.e, you get infinite recursion.
>
> Falling back to the receiver's accessor would be a bug in this case.
>

Thanks, got it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150422/b071aff9/attachment.html>


More information about the es-discuss mailing list