javascript for loop starting from end
snippet in javascript

javascript for loop starting from end

user5695

for (let i = (array.length - 1); i >= 0; i--) {
    console.log(array[i]);
}