DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
loop array backwards javascript
var arr = [1, 2, 3]; arr.slice().reverse().forEach(function(x) { console.log(x); })
Source by duckduckgo.com #
PREVIOUS
NEXT
Tagged:
#loop
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit