All challenges
Multiple ChoiceIntermediate 30s

Modules import/export

Choose the best answer for: ES modules
Options
  1. 1import {x} from './mod.js' imports named exports
  2. 2Modules require a bundler before running in browsers
  3. 3export is a global variable shared across imports
  4. 4import uses require() to load each named binding

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