Created
August 15, 2018 16:55
-
-
Save sevperez/e3fa4adee8b8258d1360f4a5f8a0b31e to your computer and use it in GitHub Desktop.
This file contains hidden or 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("My favorite dinasaur is " + theropod); | |
// ReferenceError: theropod is not defined | |
var sauropod = "apatosaurus"; | |
sauropod(); | |
// TypeError: sauropod is not a function | |
if (sauropod === "apatosaurus") | |
console.log("We have the same favorite sauropod!"); | |
} | |
// SyntaxError: Unexpected token } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment