All challenges
Multiple ChoiceIntermediate 30s

Named vs Default Export

Choose the best answer for: export types
Options
  1. 1They are identical and always produce the same import shape
  2. 2Default exports require {} around the imported binding name
  3. 3Named exports are deprecated in favor of default exports
  4. 4Named exports use {}; default export allows any import name

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