Created
July 31, 2017 02:55
-
-
Save thebopshoobop/fc60e88f802fe2b0e6c4b364803289d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(foo); // [Function: foo] | |
foo(); // 'bar' | |
function foo() { | |
console.log('bar'); | |
} | |
console.log(baz); // undefined | |
baz(); // TypeError: baz is not a function | |
var baz = function() { | |
console.log('bar'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment