indexOf ("a");; console.log(i); //返回值为1,即字符串中第二个字符 ... 如果参数不是RegExp 对象,则JavaScript 会使用RegExp() 函数把它转换为RegExp 对象。
確定! 回上一頁