function Human(a, b) {
this.name = a,
this.sex = b
}
Human.prototype.saySomething = function() {
console.log("Hi, my name is " + this.name);
}
var bob = new Human("Bob", "female");
console.log(bob.saySomething());