Last active
May 26, 2019 14:42
-
-
Save prmishra/02d1046ef26220fdab6aaa703b8dd058 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
function foo() | |
{ | |
return | |
{ | |
bar: "hello" | |
}; | |
} | |
console.log(foo()) | |
// node script.js |
function foo()
{
return {
bar: "hello"
};
}
console.log(foo())
// node script.js
function foo() {
return {
bar: "hello"
};
}
console.log(foo())
function foo() {
return {
bar: "hello"
};
}
console.log(foo())
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function foo()
{
return{
bar: "hello"
};
}
console.log(foo())