#javascript

11 篇内容

JavaScript test() 方法

定义和用法 test() 方法用于检测一个字符串是否匹配某个模式. 语法 RegExpObject.test( […]