All challenges
Multiple ChoiceIntermediate 30s

ESM in Node.js

Choose the best answer for: using ES modules in Node
Options
  1. 1ES modules always require a bundler to run inside Node.js
  2. 2Use .mjs extension or 'type':'module' in package.json
  3. 3ES modules are the same as CommonJS in every Node version
  4. 4Node does not support ES modules in any released version

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle