Answer:
You add a method to a JavaScript object's prototype by using the prototype property of the constructor function.
You add a method to a JavaScript object's prototype by using the prototype property of the constructor function.
You may be interested in:
Web Fundamental MCQs