var s=s.replace('aa','AA'); 乍看下程式碼似乎沒什麼蛀蟲問題,其實第一個參數應該是regx的方式因此,如果改為var s=s.replace(/\你要置換的字串/g ...
確定! 回上一頁