Merge pull request #1289 from Raggan/Raggan-patch-1
Fixed spelling error
This commit is contained in:
commit
95597b8fda
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ The problem is that JavaScript treats `{...}` in the main code flow (not inside
|
|||
}
|
||||
```
|
||||
|
||||
So here JavaScript assumes that we have a code block, but why there's an error. We have destructuring instead.
|
||||
So here JavaScript assumes that we have a code block, that's why there's an error. We have destructuring instead.
|
||||
|
||||
To show JavaScript that it's not a code block, we can wrap the expression in parentheses `(...)`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue