Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

The provides() function and the exportsobject are used to _________

a) Register the module’s API and Store their API
b) Call the modules api
c) Store the module’s API
d) Register the modules api

Answer: a
Explanation: Frameworks that define module loading systems may have other methods of exporting a module’s API. There may be a provides() function for modules to register their API, or an exports object into which modules must store their API.

Join The Discussion