Skip to content

Commit 5068bc0

Browse files
authored
Update collections-concepts.md
1 parent d59b9d9 commit 5068bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/collections-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ arr.unshift(1, 2); // [1, 2, 3, 4, 5, 6]
113113
const arr = [1, 2, 3];
114114
const otherArr = [4, 5, 6];
115115
arr.push(...otherArr); // [1, 2, 3, 4, 5, 6]
116-
arr.unshift(...arr); // [4, 5, 6, 1, 2, 3, 4, 5, 6]
116+
arr.unshift(...otherArr); // [4, 5, 6, 1, 2, 3, 4, 5, 6]
117117
```
118118

119119
###### Notes

0 commit comments

Comments
 (0)