const str = 'JavaScript is werid!' console.log(str.indexOf('werid')) // 14. 另一個常見的應用如tag autoComplete,需要比對使用者輸入的字串是否 ...
確定! 回上一頁