Are the default Symbol.species accessors intended to be configurable?

Keith Miller keith_miller at apple.com
Wed Feb 10 19:31:14 UTC 2016


Ah, I missed that section. Thanks!

> On Feb 10, 2016, at 11:29 AM, Kevin Smith <zenparsing at gmail.com> wrote:
> 
> 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 <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 <https://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects>,  which specifies the default property attributes for the standard built-ins.
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160210/1b01b370/attachment.html>


More information about the es-discuss mailing list