Skip to content

Commit 936bea2

Browse files
fix word
fix word "when" to "than".
1 parent 97ef862 commit 936bea2

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ We can swap more than two variables this way.
151151

152152
### The rest '...'
153153

154-
Usually, if the array is longer when the list at the left, the "extra" items are omitted.
154+
Usually, if the array is longer than the list at the left, the "extra" items are omitted.
155155

156156
For example, here only two items are taken, and the rest is just ignored:
157157

0 commit comments

Comments
 (0)