With insert you can add a new element to an array at any position. arr.insert(3, 'apple') #=> [0, 1, 2, ' ...
確定! 回上一頁