Skip to content

Commit 95597b8

Browse files
authored
Merge pull request #1289 from Raggan/Raggan-patch-1
Fixed spelling error
2 parents df3260a + 8b5693d commit 95597b8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ The problem is that JavaScript treats `{...}` in the main code flow (not inside
356356
}
357357
```
358358

359-
So here JavaScript assumes that we have a code block, but why there's an error. We have destructuring instead.
359+
So here JavaScript assumes that we have a code block, that's why there's an error. We have destructuring instead.
360360

361361
To show JavaScript that it's not a code block, we can wrap the expression in parentheses `(...)`:
362362

0 commit comments

Comments
 (0)