首先我們先來複習一下上次文章中對於set的介紹,試著看一下以下的程式碼並回答輸出的結果。 const arr = [1,2,5,7,7,10] console.log([...new Set(arr)].
確定! 回上一頁