FlashcardAdvanced

Revealing Module Pattern

A JavaScript pattern that defines private members, then returns an object exposing only chosen public ones.

Question

What is the Revealing Module Pattern in JavaScript?

Click to reveal answer