Question · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture

Dynamic Import

What does the dynamic import() expression return in JavaScript?

Answer options

  • A bundler configuration object
  • A URL to the module file
  • A synchronously loaded module
  • A Promise that resolves to the module

You can check the correct answer by solving this task in the CodeWorlds game.