const newArr = arr.map(function (item, index, array) { return { ...item, //拆解item 資料,新增一個變數為newArr,併重新回傳資料到新變數中。
確定! 回上一頁