... half) const secondHalf = list.slice(-half) If the list contains an even number of items, the result is split with exactly half the items ...
確定! 回上一頁