Question: In this exercise, the prototype People is defined. You need to define two objects of this prototype. The first object must be created by the

 In this exercise, the prototype People is defined. You need to

In this exercise, the prototype People is defined. You need to define two objects of this prototype. The first object must be created by the Object.create ) method and the second object must be created by a constructor function. Finally, to check if your solution is correct, run the checkit method from the template. This method must return Bern in both objects

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!