📅  最后修改于: 2022-03-11 15:04:11.693000             🧑  作者: Mango
someValues.forEach((element) => {
console.log(element);
});
OR
someValues.forEach((element, index) => {
console.log(`Current index: ${index}`);
console.log(element);
});