定義和用法forEach() 調用數組的每個元素,並將元素傳遞給回調函數。 註意: forEach() 對於空數組是不會執行回調函數的。 用法: array.forEach(function(currentValue ...
確定! 回上一頁