scopeJavaScriptScopeMediumWhy is it a good idea to avoid polluting the global scope?1To prevent naming conflicts, scope leaks, and security/maintainability issues2It makes code run faster in all cases3It is required by the ECMAScript spec4Global variables cannot be read by other scriptsBack to list