JavaScript RegExp constructor Property
JavaScript RegExp constructor Property
The constructor property is used for returning the function that created the RegExp prototype. It return is function RegExp() { [native code] }
Syntax:-
Its syntax is:- RegExpObject.constructor
Return:-
Its return is:- function RegExp() { [native code] }