super.prop assignment can silently overwrite non-writable properties

Jason Orendorff jason.orendorff at
Mon Apr 20 19:49:52 UTC 2015

On Mon, Apr 20, 2015 at 2:42 PM, Caitlin Potter <caitpotter88 at> wrote:
> Oh — he’s right, ValidateAndApplyPropertyDescriptor won’t throw in the example case, because the old descriptor is configurable. That’s kind of weird.

Yes, that's it. step 8.a says that writability is checked
only if the existing property is non-configurable.


More information about the es-discuss mailing list