Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save molayodecker/ac771ff29bd11d89afd3e37514538844 to your computer and use it in GitHub Desktop.
Save molayodecker/ac771ff29bd11d89afd3e37514538844 to your computer and use it in GitHub Desktop.
Scope2
var icecream = "cookie & cream";
function ice(){
var icecream = "cookie & cream";
console.log(icecream);
}
console.log(icecream); // cookie & cream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment