Skip to content

Instantly share code, notes, and snippets.

@ylv-io
Last active January 29, 2019 16:59
Show Gist options
  • Save ylv-io/93c56f839cf41294a3c4cee85666f76b to your computer and use it in GitHub Desktop.
Save ylv-io/93c56f839cf41294a3c4cee85666f76b to your computer and use it in GitHub Desktop.
function foo1() {
return {
bar: 'bar',
};
}
function foo2() {
return
{
'bar';
}
}
console.log(foo1());
console.log(foo2());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment