DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
JavaScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
JavaScript
The Module pattern (an IIFE returning an object with private state) achieves privacy through which mechanism?
A
A `private` keyword
B
TypeScript's access modifiers
C
Closures — the private variable is only reachable from functions defined within the same scope
D
JSON serialization
Check Answer