[RegExp] Match Indices
Author: uufcCreated Feb 5, 2026Updated Mar 6, 2026
Labelsenhancementhelp wanted
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
Source: zloirock/core-js