JavaScript 中正则表达式test()、exec()、match() 方法区别 · 1、test. test 返回Boolean,查找对应的字符串中是否存在模式。 var str = "1a1b1c"; · 2、exec.
確定! 回上一頁