Created
January 29, 2017 22:47
-
-
Save anthonydelgado/5caf263a2472eb9f76dcf54430b04196 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
var Dud = function(gender, dudName, coolnessScale){ | |
this.gender = gender | |
this.dudName = dudName; | |
this.coolnessScale = coolnessScale; | |
this.dudeOrDudess = function(){ | |
if (this.gender == 'female'){ | |
console.log("I'm a dudess. Sup?"); | |
}else{ | |
console.log("I'm a dude. Are there any dudesses around?"); | |
} | |
} | |
} | |
module.exports = Dud; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment