Skip to content

Commit 136b3a6

Browse files
committedOct 31, 2017
updates
1 parent ad3a99c commit 136b3a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎Array_reverse.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
let x = [1,3,5,7];
2+
console.log(x); //[ 1, 3, 5, 7 ]
3+
4+
x.reverse();
5+
console.log(x); //[ 7, 5, 3, 1 ]

0 commit comments

Comments
 (0)
Please sign in to comment.