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
medium
JavaScript
What makes ES Modules statically analyzable, unlike CommonJS?
A
ESM files must have a .mjs extension
B
import/export must appear at the top level, never conditionally — the full dependency graph is knowable without running any code
C
ESM doesn't allow circular dependencies at all
D
ESM modules are always smaller in file size
Check Answer