单项选择题
A.. B.{} C.[] D.""
检测正则表达式是否匹配,除了有test()、match()外,还有()方法返回值也是一个数组?A.replac...
单项选择题检测正则表达式是否匹配,除了有test()、match()外,还有()方法返回值也是一个数组?
A.replace() B.exec() C.split() D.join()
let sayString="hello hunger! How are you?"; const reg=/...
单项选择题let sayString="hello hunger! How are you?"; const reg=/hello|you/g; console.log(sayString.match(reg));以上代码运行结果正确的是()
A.["hello"] B.["you"] C.["hello","you"] D.null
et set = new Set()set.add(1);set.add(2);set.has(1);以上代码...
单项选择题et set = new Set()set.add(1);set.add(2);set.has(1);以上代码的中的has方法作用正确的是()
A.判断某元素是否存在 B.清除所有元素 C.从set中删除元素 D.向Set中添加元素