Self-Executing Functions in JavaScript

I’ve been steadily migrating my JavaScript assets to use self executing functions (and more recently literals) as they are a good way to enforce scope on variables and make your JavaScript more readable. The examples below show¬†the difference between implementing a self-executing function and using literals. I have found that on most browsers (except Safari), …

Self-Executing Functions in JavaScript Read More »