tc39 / proposal-regexp-match-indices

ECMAScript RegExp Match Indices
https://arai-a.github.io/ecma262-compare/?pr=1713
BSD 3-Clause "New" or "Revised" License
65 stars 13 forks source link

Make .indices a data property. Closes #29. #31

Closed syg closed 5 years ago

syg commented 5 years ago

Making .indices a caching getter in the spec makes the function identity of the getter observable. This makes it necessary for implementations to create a new Function object per result object of RegExp.prototype.exec. The intended laziness of .indices is possible in implementations even with it as a data property in spec.

rbuckton commented 5 years ago

/azp run

azure-pipelines[bot] commented 5 years ago
Azure Pipelines successfully started running 1 pipeline(s).
rbuckton commented 5 years ago

/azp run

azure-pipelines[bot] commented 5 years ago
Azure Pipelines successfully started running 1 pipeline(s).