Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1-js/04-object-basics/07-optional-chaining/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ That's why the optional chaining `?.` was added to the language. To solve this p

## Optional chaining

The optional chaining `?.` stops the evaluation if the part before `?.` is `undefined` or `null` and returns that part.
The optional chaining `?.` stops the evaluation if the part before `?.` is `undefined` or `null` and returns that part as `undefined`.

**Further in this article, for brevity, we'll be saying that something "exists" if it's not `null` and not `undefined`.**

Expand Down