We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5462a89 commit 0b51eb1Copy full SHA for 0b51eb1
arrays/shift.md
@@ -0,0 +1,10 @@
1
+# Shift
2
+
3
+What Shift does to an array is delete the first index of that array and move all indexes to the left.
4
5
+```javascript
6
+var array = [1, 2, 3];
7
8
+array.shift();
9
10
+console.log(array);
0 commit comments