Skip to content

Commit

Permalink
Update collections-concepts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sadanandpai authored Sep 22, 2021
1 parent d59b9d9 commit 5068bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion challenges/collections-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ arr.unshift(1, 2); // [1, 2, 3, 4, 5, 6]
const arr = [1, 2, 3];
const otherArr = [4, 5, 6];
arr.push(...otherArr); // [1, 2, 3, 4, 5, 6]
arr.unshift(...arr); // [4, 5, 6, 1, 2, 3, 4, 5, 6]
arr.unshift(...otherArr); // [4, 5, 6, 1, 2, 3, 4, 5, 6]
```

###### Notes
Expand Down

0 comments on commit 5068bc0

Please sign in to comment.