InterviewBuddy
All interview questions

In JavaScript, what is a common mistake with module scope?

Advanced

Answer

Importing a module can run top-level side effects once per module instance.