How can we make methods available on all objects?
(a) Object.add(methods)
(b) Object.methods(add)
(c) Object.add.methods(…)
(d) Object.prototype
I have been asked this question in final exam.
The query is from Augmentation of Classes in chapter Classes and Modules in JavaScript of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)