Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8b5693d

Browse files
authored
Fixed spelling error
So here JavaScript assumes that we have a code block, but why there's an error. --> Makes no sense so replaced "but" with "that's"
1 parent 9f010c6 commit 8b5693d

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
@@ -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)

AltStyle によって変換されたページ (->オリジナル) /