回傳的陣列長度一定會跟原陣列長度一樣 const newPeople = people.map(function(item,index){ return { ...item, icash :item.money + 500 }; ...
確定! 回上一頁