Skip to content

Instantly share code, notes, and snippets.

@YassineBajdou
Created September 14, 2018 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YassineBajdou/6640181d1d2aa9ea60e9043e087dcb54 to your computer and use it in GitHub Desktop.
Save YassineBajdou/6640181d1d2aa9ea60e9043e087dcb54 to your computer and use it in GitHub Desktop.
(function() {
console.log(typeof foo); // function pointer
console.log(typeof bar); // undefined
var foo = 'hello',
bar = function() {
return 'world';
};
function foo() {
return 'hello';
}
}());​
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment