Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript for loop starting from end

for (let i = (array.length - 1); i >= 0; i--) {
    console.log(array[i]);
}
 
PREVIOUS NEXT
Tagged: #javascript #loop #starting
ADD COMMENT
Topic
Name
1+3 =