Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate over array backwards javascript

for (var i = arr.length - 1; i >= 0; i--) {
    console.log(arr[i]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterate #array #javascript
ADD COMMENT
Topic
Name
1+4 =