arr.splice(0, 1, 'x', 'y'); // Inserts 'x' and 'y' replacing 1 item at index 0. 12. // => ['x', 'y', 10, 'tmp']. splice method js.
確定! 回上一頁