Question: Question 9 (1 point) Assume that: function Person(first, last, age, eye) { this.firstName = first; this.lastName = last; this.age = age; this.eyeColor = eye }

 Question 9 (1 point) Assume that: function Person(first, last, age, eye)

Question 9 (1 point) Assume that: function Person(first, last, age, eye) \{ this.firstName = first; this.lastName = last; this.age = age; this.eyeColor = eye \} Person.prototype.name = function() \{ return this.firstName +""+ this.lastName \}; var myFather1 = new Person("John", "Doe", 50, "blue"); var myFather = new Person("Paul", "Roe", 40, "green"); delete myFather1.firstName; delete myFather.lastName; console.log( "My father is " + myFather.name() + "My father is " + myFather1.name() ); My father is John DoeMy father is Paul Roe My father is John undefinedMy father is Paul undefined My father is undefined PaulMy father is Doe underfined My father is Paul undefinedMy father is undefined Doe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!