Skip to content

Commit eb23b2d

Browse files
authored
Merge pull request #2814 from kk-source/patch-1
Update article.md
2 parents 00237ef + 3cf2212 commit eb23b2d

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/10-destructuring-assignment

1 file changed

+1
-1
lines changed

1-js/05-data-types/10-destructuring-assignment/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The two most used data structures in JavaScript are `Object` and `Array`.
55
- Objects allow us to create a single entity that stores data items by key.
66
- Arrays allow us to gather data items into an ordered list.
77

8-
Although, when we pass those to a function, it may need not an object/array as a whole. It may need individual pieces.
8+
Although, when we pass those to a function, it may need not be an object/array as a whole. It may need individual pieces.
99

1010
*Destructuring assignment* is a special syntax that allows us to "unpack" arrays or objects into a bunch of variables, as sometimes that's more convenient.
1111

0 commit comments

Comments
 (0)