let arr0 = [1,2,3, "a",true] // 取数组的[1-2)位置的元素,左闭右开(包含 ... indexOf("a") console.log(i) // indexOf第二个参数表示从第几个位置 ...
確定! 回上一頁