ES6後很方便的寫法把陣列前面加上三個點ex ...array 就等於展開裡面的資料用以下例子來示範const firstArray = [1, 2, 3]; const firstArr.
確定! 回上一頁