Skip to content

Commit 88ad89f

Browse files
authored
Merge pull request #2015 from leviding/patch-21
Delete a blank
2 parents c1a3778 + c2f8c4f commit 88ad89f

File tree

1 file changed

+1
-1
lines changed
  • 1-js/04-object-basics/07-optional-chaining

1 file changed

+1
-1
lines changed

1-js/04-object-basics/07-optional-chaining/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ If there's no variable `user` at all, then `user?.anything` triggers an error:
8080
// ReferenceError: user is not defined
8181
user?.address;
8282
```
83-
There must be `let/const/var user`. The optional chaining works only for declared variables.
83+
There must be `let/const/var user`. The optional chaining works only for declared variables.
8484
````
8585

8686
## Short-circuiting

0 commit comments

Comments
 (0)