Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js loop array back

var arr=[1,2,3];
arr.reverse().forEach(x=> console.log(x))
 
PREVIOUS NEXT
Tagged: #js #loop #array
ADD COMMENT
Topic
Name
6+8 =