Created
January 18, 2015 08:31
-
-
Save lgvital/e5f15d51c103571b0792 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
// Will the following two functions return the same thing? | |
function foo1() | |
{ | |
return { | |
bar: "hello" | |
}; | |
} | |
function foo2() | |
{ | |
return | |
{ | |
bar: "hello" | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment