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
Q27: In an object literal, each _ pair
Q28: Which of the following objects is also
Q29: Which of the following methods is applied
Q30: Refer to the following code snippet and
Q31: Which of the following notations is used
Q33: Which of the following methods is applied
Q34: Identify the general syntax of the object
Q35: Identify the use of var objInstance =
Q36: Identify the significance of this keyword in
Q37: _ objects are extended by adding new
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents