We assign the new array returned by map() to the variable doubled and log it: ... const doubled = numbers.map((number) => number * 2);console.log(doubled);.
確定! 回上一頁