Question · JavaScript and TypeScript course · Module 5: Advanced JavaScript

JavaScript Modules

What is a module in JavaScript?

Answer options

  • A separate file with exported code
  • A Math method
  • A function that modifies data
  • A type of loop

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