Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 844644d

Browse files
Merge pull request #117 from caiquecastro/patch-1
fix(book/array): comment update
2 parents c20acfb + fefb06a commit 844644d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎book/content/part02/array.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Here's an example:
7373
[source, javascript]
7474
----
7575
const array = [2, 5, 1];
76-
array.unshift(0); // ↪️ 8
76+
array.unshift(0); // ↪️ 4
7777
console.log(array); // [ 0, 2, 5, 1 ]
7878
array.unshift(-2, -1); // ↪️ 6
7979
console.log(array); // [ -2, -1, 0, 2, 5, 1 ]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /