Last active
August 13, 2018 00:32
-
-
Save Obayanju/7d90ee5d32bd0b325ec64ab8d6c902d6 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
function Planet() { | |
// .... | |
} | |
Planet.prototype.constructor === Planet; // true | |
let mars = new Planet(); | |
mars.constructor === Planet; // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment