Merge pull request #2015 from leviding/patch-21

Delete a blank
This commit is contained in:
Ilya Kantor 2020-09-05 17:06:18 +03:00 committed by GitHub
commit 88ad89f029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ If there's no variable `user` at all, then `user?.anything` triggers an error:
// ReferenceError: user is not defined
user?.address;
```
There must be `let/const/var user`. The optional chaining works only for declared variables.
There must be `let/const/var user`. The optional chaining works only for declared variables.
````
## Short-circuiting