Are /regex/ Literals always RegExp Objects?

后端 未结 3 1032
南方客
南方客 2020-12-19 02:55

Basically, my question is about how Javascript handles regex literals.

Contrasting with number, string and boolean where literals are primitive data types and corres

3条回答
提交回复
热议问题