我們首先來看一看MDN上對Map和ForEach的定義:. forEach(): 針對每一個元素執行提供的函式(executes a provided function once for each array element)。
確定! 回上一頁