Comment #2 on issue 4347 by [email protected]: RegExp flag properties
should be getters, not data properties
https://code.google.com/p/v8/issues/detail?id=4347
My reading of the spec is that it's configurable (since it doesn't say
otherwise, and the default in
http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-standard-built-in-objects
is [[Configurable]]: true).
Looks like SpiderMonkey implements this:
Object.getOwnPropertyDescriptor(/foo/.__proto__, 'ignoreCase')
Object { configurable: true, enumerable: false, get: ignoreCase(), set:
undefined }
I don't have any background on the spec change, though.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.