Skip to content

Instantly share code, notes, and snippets.

@Damimd10
Last active March 24, 2019 19:00
Show Gist options
  • Save Damimd10/a2f78cd07ff5b3d8c50567a61d45a911 to your computer and use it in GitHub Desktop.
Save Damimd10/a2f78cd07ff5b3d8c50567a61d45a911 to your computer and use it in GitHub Desktop.
// global scope
var name = 'Damian';
function getName() {
console.log(name); // 'Damian'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment