Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 }
Add Comment
Please, Sign In to add comment