You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the d flag is present, re.exec() includes the matched indices. When the RegExp constructor is used, RegExp.prototype.hasIndices should be correctly set.
ECMASCript feature
When the
d
flag is present,re.exec()
includes the matched indices. When theRegExp
constructor is used,RegExp.prototype.hasIndices
should be correctly set.See the spec (step 6 & 34) and MDN .
Example code
The text was updated successfully, but these errors were encountered: