Multiple Choice
Which of the following commands is used to add a method to a prototype .
A) objName.prototype.function = method;
B) objName.prototype.method = function;
C) objClass.prototype.method = function;
D) objInstance.prototype.function = method;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: Which of the following object methods returns
Q30: The showName() method provides another way to
Q31: When an object is instantiated from a
Q32: Case-Based Critical Thinking Questions Case 13-1 Kenneth
Q33: Refer to the following code snippet and
Q35: JavaScript is an object-based programming language that
Q36: A base object is the only object
Q37: Which of the following methods is applied
Q38: Identify the first step that is executed
Q39: for…in loops do not follow a specific