If you’re a JavaScript developer, you’ve probably heard the phrase, “Don’t pollute the global namespace.” This rule of thumb has saved… — If you’re a JavaScript developer, you’ve probably heard the phrase, “Don’t pollute the global namespace.” This rule of thumb has saved developers many hours, and still has some merit. However, advancements in JavaScript have given way to new opportunities for using the “global” space in a safer manner.