Skip to content

Instantly share code, notes, and snippets.

@DzikuVx
Created February 22, 2014 11:49
Show Gist options
  • Save DzikuVx/9152714 to your computer and use it in GitHub Desktop.
Save DzikuVx/9152714 to your computer and use it in GitHub Desktop.
function myFunction(foo) {
bar = 'foo';
console.log(bar);
console.log(foo);
}
var bar = 'bar',
baz = 'baz';
console.log(bar);
myFunction(baz);
console.log(bar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment