javascript detect regular expression type

后端 未结 0 1243
忘了有多久
忘了有多久 2021-01-26 06:55

I get object with

var patt1 = /\\bLO/;
alert (typeof patt1);

How can I get info that is a regex ?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题