title: What is the purpose/benefit of anonymous functions (or whatever this is) in JavaScript?
body: <p>I've seen a lot of apps for the past few weeks that have this kind of script at the beginning of the script:</p>
  
  <pre><code>(function() {
    // Code goes here...
  });
  </code></pre>
  
  <p>Can anyone explain this or have a link to some resources about this?</p>