Merge pull request #1289 from Raggan/Raggan-patch-1

Fixed spelling error
This commit is contained in:
Ilya Kantor 2019-08-29 22:06:05 +03:00 committed by GitHub
commit 95597b8fda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 `(...)`: