Boolean.prototype.myColor = function() {
if (this.valueOf() == true) {
return "green";
} else {
return = "red";
}
};
function Person(first, last, age, eyecolor) { th
function Person(first, last, age, eyecolor) {
this.function Person(first, last, age, eyecolor) {
this.firstName = first;
this.lastName = last;
this.eyeColor = eyecolor;
}
Person.prototype.nationality = "English" = first;
this.lastName = last;
this.eyeColor = eyecolor;
}
Person.prototype.nationality = "English"