Multiple ChoiceIntermediate 30s
module.exports
Choose the best answer for: exporting in CommonJS
Options
- 1module.exports defines what require() returns
- 2exports is a global shared across all module files
- 3module.exports is the same as import for named ones
- 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.