Home / CSE MCQs / Javascript MCQs :: Discussion

Discussion :: Javascript MCQs

  1. To define each of the set classes as a property of the sets object (namespace) for the module, the statement is
  2. A.
    sets = sets.AbstractEnumerableSet.extend();
    B.
    sets.SingletonSet = sets.AbstractEnumerableSet.extend(...);
    C.
    sets.SingletonSet = sets.extend(...);
    D.
    sets = sets.extend(...);

    View Answer

    Workspace

    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