Skip to content

Instantly share code, notes, and snippets.

@pvamshi
Last active August 29, 2015 14:20
Show Gist options
  • Save pvamshi/73a3a2d7393abcc915f0 to your computer and use it in GitHub Desktop.
Save pvamshi/73a3a2d7393abcc915f0 to your computer and use it in GitHub Desktop.
Javascript Hosting
function abc() {
console.log('Calling pr');
pr();
console.log('calling pr2');
pr2();
console.log('checking a ');
console.log(a);
var a;
console.log(a);
var d = 5;
console.log('calling non-existing param c ');
console.log(c);
function pr() {
console.log('pr function');
}
var pr2 = function () {
console.log('pr2 function');
};
}
abc();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment