All challenges
Multiple ChoiceIntermediate 30s

Module Pattern

Choose the best answer for: revealing module pattern
Options
  1. 1IIFE returning an object with public methods (private via closure)
  2. 2Module pattern requires an import statement to expose methods
  3. 3Module pattern is available only via native ES module syntax
  4. 4Module pattern uses a class to expose the public methods

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