Created
June 13, 2018 00:54
-
-
Save joegaudet/b164c168d059e4ad1ea0fa7900ba6df5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const foo = (_ = 'default') => _.toString(); | |
| foo(); // 'default' | |
| foo(null); // throws a null pointer exception |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment