在以下的程式碼中,我們使用 map() function 來接收 numbers array,並將其中的每個值乘以兩倍。我們將 map() 回傳的新array 設定為變數 doubled 的值並印出:. const ...
確定! 回上一頁