舌尖上的JS 系列第3 篇 ... 字串也有index 值,可以利用 indexOf(searchValue) 找出字串中第一個出現該字元的位置,或是 lastIndexOf(searchValue) 找最後一次出現的 ...
確定! 回上一頁