-
-
Save codecademydev/b0dfba3a00557cc2c169bdc604eb916b to your computer and use it in GitHub Desktop.
Codecademy export
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
// what is this "Object.prototype" anyway...? | |
var prototypeType = "hi"; | |
console.log(prototypeType); | |
// now let's examine it! | |
var hasOwn = Object.prototype.hasOwnProperty("hasOwnProperty"); | |
console.log(hasOwn); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2nd line.
You want to know what "typeof". Do,
var prototypeType = typeof Object.prototype