Created
July 18, 2018 18:17
-
-
Save sevperez/ebccf31368dae1bacc334280a5896f24 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
// prototypes1.js | |
var obj = {}; | |
console.log(Object.getPrototypeOf(obj)); | |
/* Logs: | |
{ | |
constructor: ƒ Object(), | |
hasOwnProperty: ƒ hasOwnProperty(), | |
isPrototypeOf: ƒ isPrototypeOf(), | |
propertyIsEnumerable: ƒ propertyIsEnumerable(), | |
toLocaleString: ƒ toLocaleString(), | |
toString: ƒ toString(), | |
valueOf: ƒ valueOf(), | |
__defineGetter__: ƒ __defineGetter__(), | |
__defineSetter__: ƒ __defineSetter__(), | |
__lookupGetter__: ƒ __lookupGetter__(), | |
__lookupSetter__: ƒ __lookupSetter__(), | |
get __proto__: ƒ __proto__(), | |
set __proto__: ƒ __proto__(), | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment