Skip to content

Instantly share code, notes, and snippets.

@travishen
Created August 20, 2018 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save travishen/257a54f458d9b814a2e7742f6a7985f4 to your computer and use it in GitHub Desktop.
Save travishen/257a54f458d9b814a2e7742f6a7985f4 to your computer and use it in GitHub Desktop.
// 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