We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad3a99c commit 136b3a6Copy full SHA for 136b3a6
Array_reverse.js
@@ -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