You can access the index of the array element in the forEach() method. The callback function passed into the forEach() method takes an optional index argument.
確定! 回上一頁