當你就是不想使用 [arr.length - N] 或 Array.prototype.slice 的時候。 at 讓你可以使用正負數的索引(index) 來取得元素,如果沒有跟索引相對應的元素則回傳 ...
確定! 回上一頁