In JavaScript, you can use the forEach() method to perform an operation for each element in the array. Let's replace the for loop from the previous example with ...
確定! 回上一頁