To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
(a) sets = sets.AbstractEnumerableSet.extend();
(b) sets.SingletonSet = sets.AbstractEnumerableSet.extend(…);
(c) sets.SingletonSet = sets.extend(…);
(d) sets = sets.extend(…);
This question was posed to me during a job interview.
The origin of the question is Modules in JavaScript topic in portion 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)