MCQ Single Best Answer Easy

QThe exportsobject and provides() functions are employed to

ID: #5020 Javascript Modules MCQ 251 views
Question Info
#5020Q ID
EasyDifficulty
Javascript Modules MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Register the module
  • B Call the modules api
  • C Store the module
  • D Register the modules api
Correct Answer: Option A

Explanation

Module loading frameworks may use different methods for exposing a module's API. For example, there may be a provides() function that modules can use to register their API, or an exports object into which modules must place their API.

No Previous Next Question

Share This Question

Challenge a friend or share with your study group.