>
> Is this a correct reading of the spec? Is this a bug in the spec?
> https://github.com/tc39/test262/blob/master/test/built-ins/RegExp/Symbol.species/symbol-species.js
>  tests
> that the RegExp[Symbol.species] property is configurable. Additionally, it
> appears to break at least one major webpage if RegExp[Symbol.species] is
> not configurable.
>

Check out the last two paragraphs of
https://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects,
 which specifies the default property attributes for the standard built-ins.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to