Last active
December 19, 2018 07:45
-
-
Save debugmodedotnet/82cbe2827d757fef125e49666f7f9f59 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 human(name, age, money) { | |
this.name = name ; | |
this.age = age ; | |
this.money = money; | |
} | |
human.prototype.canEarn = function () { | |
console.log('yes ' + this.name + 'can earn'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment