?var mystr="Hello World!"? document.write(mystr.indexOf('o',6));
我這樣寫有問題嗎,使用indexOf()方法,檢索第二個字符o出現(xiàn)的位置。
qq_小輝_4
2017-07-03 20:57:00