Skip to content

Instantly share code, notes, and snippets.

@rayinla
Created December 28, 2017 17:25
Show Gist options
  • Save rayinla/7e6487378bcc99e8b43e2933ed2fda0b to your computer and use it in GitHub Desktop.
Save rayinla/7e6487378bcc99e8b43e2933ed2fda0b to your computer and use it in GitHub Desktop.
// We have two functions. One is named outie and the other is named closure *wink* *wink*
//this is closure's global scope
function outie(){
// this is closure's first and only outer scope
function closure(){
// this is closure's local scope
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment