Discussion :: Javascript MCQs
- 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(...);
|
Answer : Option B
Explanation :
The sets object is the namespace for the module, and we define each of the set classes as a property of this object.
Be The First To Comment