Node: Possible regression in RegExp.prototype.flags

Created on 24 Oct 2017  路  3Comments  路  Source: nodejs/node

I spotted this on http://node.green/#ES2015-misc-Proxy--internal--get--calls-RegExp-prototype-flags

It appears the tests for RegExp.prototype.flags have been failing but has been failing since 8.3.0

V8 Engine

Most helpful comment

I opened an issue to get this fixed. Thanks for pointing it out!
https://github.com/kangax/compat-table/issues/1208

(No Node core issue)

All 3 comments

It's an issue with the test case because it doesn't account for the possibility of additional flags existing, such as dotAll which is currently available in V8.

/cc @williamkapke

I opened an issue to get this fixed. Thanks for pointing it out!
https://github.com/kangax/compat-table/issues/1208

(No Node core issue)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cong88 picture cong88  路  3Comments

Brekmister picture Brekmister  路  3Comments

danielstaleiny picture danielstaleiny  路  3Comments

filipesilvaa picture filipesilvaa  路  3Comments

fanjunzhi picture fanjunzhi  路  3Comments