Vidyalelo
JavaScript · Q25

Classes And Modules

Programming · JavaScript · question 25

Q25

Modules that have more than one item in their API can

A.
Assign itself to a global variable
B.
Invoke another module of the same kind
C.
Return a namespace object
Answer
D.
None of the above

Answer: Option C

Solution

Answer: Option C
Solution:
Modules that have more than one item in their API can return a namespace object.