📌  相关文章
📜  如何在javascript代码示例中循环遍历数字数组

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

代码示例1
let numbers = [1,2,3,4,5];
let numbersLength = numbers.length;
for ( let i = 0; i < numbersLength; i++) {
    console.log (numbers[i]);
}