Es6-regexp-prototype-flags
提供:Dev Guides
ES6-RegExpコンストラクター
インスタンスのプロトタイプを作成した配列関数への参照を返します。
構文
RegExp.constructor
戻り値
このオブジェクトのインスタンスを作成した関数を返します。
例
var re = new RegExp( "string" );
console.log("re.constructor is:" + re.constructor);
出力
re.constructor is:function RegExp() { [native code] }