Skip to content

Commit c2f8c4f

Browse files
authored
Update article.md
1 parent ae11710 commit c2f8c4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/04-object-basics/07-optional-chaining

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)