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 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
Get step-by-step solutions from verified subject matter experts
