RegExpObject.toSource();
下面是参数的详细信息:
-
NA
返回表示对象的源代码的字符串。
例子:Javascript RegExp toSource Method
在Firefox这将产生以下结果:
Test 1 - returned value : /script/g Test 2 - returned value : ///g

RegExpObject.toSource();
下面是参数的详细信息:
NA
返回表示对象的源代码的字符串。
例子:Javascript RegExp toSource Method
在Firefox这将产生以下结果:
Test 1 - returned value : /script/g Test 2 - returned value : ///g