Skip to content

[RegExp] Match Indices #1507

@uufc

Description

@uufc

execute:
const test = new RegExp('.', 'd');
output:
Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'd'
at new RegExp ()
at :1:14
(anonymous) @ VM524:1


https://github.com/tc39/proposal-regexp-match-indices

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions