📜  javascript 遍历数组 backwords - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:26.236000             🧑  作者: Mango
代码示例1
var arr = [1, 2, 3, 4, 5];
for (var i = arr.length - 1; i >= 0; i--) {
console.log(arr[i]);
}