JavaScript Diary I
In this first JavaScript diary, I explain why I use an immediately invoked function to keep declarations private, then show the Revealing Module Pattern for exposing selected functions. I also touch on constructor functions, single responsibility, and descriptive names.
4 min683 words