All challenges
Code AnalysisIntermediate 45s

CommonJS caching

What does this code output? (assume module loaded twice)
Starter code
// require() caches modules: the module code runs only once
console.log('cached on second require');

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