forEach method to perform the iteration over the values and indexes. names.forEach((name, index) => { console.log(`Hello ${name}, your index is ${index}!
確定! 回上一頁