-
-
Save digitalconceptvisuals/ee36672cec85de36fb87664765642299 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
// Global scope | |
g_a = 1; | |
// local to enclosing anonymous function (node.js) | |
var a = 1; | |
// Global scope | |
function hello(name) { | |
console.log("Hello", name); | |
} | |
// Local scope | |
var greet = function(name) { | |
console.log("Greetings", name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment