Created
August 20, 2018 09:35
-
-
Save travishen/257a54f458d9b814a2e7742f6a7985f4 to your computer and use it in GitHub Desktop.
This file contains 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
// this case will cause automatic semicolon insertion | |
// and return wrong value when invoking this function | |
function getPerson() { | |
return | |
{ | |
name: 'Tony', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment