DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript reverse array
var
arr
=
[
34
,
234
,
567
,
4
]
;
print
(
arr
)
;
var
new_arr
=
arr
.
reverse
(
)
;
print
(
new_arr
)
;
PREVIOUS
NEXT
Tagged:
#javascript
#reverse
#array
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit