Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

add example for “not an error suppression” #96

Merged
merged 1 commit into from
Jun 25, 2019
Merged
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ No. Optional Chaining just checks whether some value is undefined or null. It do
undeclared_var?.b // ReferenceError: undeclared_var is not defined
arguments?.callee // TypeError: 'callee' may not be accessed in strict mode
arguments.callee?.() // TypeError: 'callee' may not be accessed in strict mode
true?.() // TypeError: true is not a function
})()
```

Expand Down