["Cabbage", "Carrot"] (the original array is changed) console.log(removedItems) // ["Turnip", "Radish"]. 拷贝array: let shallowCopy = fruits.slice() ...
確定! 回上一頁