First, we have to remove the last element without mutating the array. We know slice returns a copy of the array given start and end indices.
確定! 回上一頁