📜  循环数组向后javascript代码示例

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

代码示例3
const array = [6,7,8,9,10];
for (const number of array.reverse()) {
    console.log(number);
}