We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c20acfb commit fefb06aCopy full SHA for fefb06a
book/content/part02/array.asc
@@ -73,7 +73,7 @@ Here's an example:
73
[source, javascript]
74
----
75
const array = [2, 5, 1];
76
-array.unshift(0); // ↪️ 8
+array.unshift(0); // ↪️ 4
77
console.log(array); // [ 0, 2, 5, 1 ]
78
array.unshift(-2, -1); // ↪️ 6
79
console.log(array); // [ -2, -1, 0, 2, 5, 1 ]
0 commit comments