When using dynamic imports, the import() function returns a ________.

  • Promise
  • Callback
  • Function
  • Object
When using dynamic imports in JavaScript, the import() function returns a Promise. This Promise resolves to the module's namespace object once the module is loaded and ready for use.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *