InterviewBuddy
All interview questions

In JavaScript, when is module scope useful?

Intermediate

Answer

Use modules to define clear public APIs and avoid accidental global names.