Beyond Memory Leaks in JavaScript
Daniel Reis
836

Another way of avoiding contaminating the global scope is by using anonymous functions

I tried this, but seems it also creates global variable

Am I missed something?