super.prop assignment can silently overwrite non-writable properties

Tom Van Cutsem at
Wed Apr 22 14:18:08 UTC 2015

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

> 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: <>

More information about the es-discuss mailing list