The provides() function and the exportsobject are used to

A Register the module’s API and Store their API
B Store the module’s API and register their API
C Store the module’s API
D None of the mentioned

Correct Answer: Register the module’s API and Store their API

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.

Related Questions

Which is the function used to call a function in every time duration?
Which function among the following lets to register a function to be invoked once?
Which is the function that calls another function after a time interval?
Which of the following transition-timing-function property lets you define your own values in a cubic-bezier function

Next steps