Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reversing an array in js

var arr=[1,2,5,6,2]
arr.reverse()
 
PREVIOUS NEXT
Tagged: #reversing #array #js
ADD COMMENT
Topic
Name
4+7 =