To iterate over an array in JavaScript, you can use the “forEach()” method. Syntax. array.forEach(function(currentValue, index, arr), thisValue) ...
確定! 回上一頁