Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Register the module’s API and Store their API
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.
Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
160
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate