📜  每个循环的 javascript - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:24.343000             🧑  作者: Mango

代码示例6
const a = ["a", "b", "c"];
for (const val of a) { // You can use `let` instead of `const` if you like
    console.log(val);
}