Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJSrequire and module.exportsSingle-choice MCQ

In a CommonJS module, what happens if you write `exports = { ready: true }` (reassigning the `exports` variable itself) and nothing else?

// config.js exports = { ready: true }; // app.js console.log(require('./config'));