All challenges
Multiple ChoiceIntermediate 30s

module.exports

Choose the best answer for: exporting in CommonJS
Options
  1. 1module.exports defines what require() returns
  2. 2exports is a global shared across all module files
  3. 3module.exports is the same as import for named ones
  4. 4exports are immutable bindings that cannot be reassigned

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