Create a gist now

Instantly share code, notes, and snippets.

anonymous /quirk.js Secret
Created May 19, 2017

What would you like to do?
function foo() {
return
{
foo: 'bar'
}
}
function bar() {
return {
foo: 'bar'
}
}
typeof foo() === typeof bar(); //false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment