Skip to content
Permalink
Browse files

add example for “not an error suppression”

  • Loading branch information...
claudepache committed Jun 25, 2019
1 parent 968b560 commit 87ee33caec29804545a8144da2c575a4371f0b05
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
@@ -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
})()
```

0 comments on commit 87ee33c

Please sign in to comment.
You can’t perform that action at this time.