The RegExp[@@species]
static accessor property returns the constructor used to construct copied regular expressions in certain RegExp
methods.
Warning: The existence of @@species
allows execution of arbitrary code and may create security vulnerabilities. It also makes certain optimizations much harder. Engine implementers are investigating whether to remove this feature. Avoid relying on it if possible.