方法一: indexOf() (推荐) var str = "123"; console.log(str.indexOf("3") != -1 ); // true. indexOf() 方法可返回某个指定的字符串值在字符串中 ...
確定! 回上一頁