使用語法. const newArr = arr.map(function (value, index, array){ //... }); 會使用回調函式(callback)與三個參數,說明如圖: javascript map() 使用方法說明 ...
確定! 回上一頁