title: Meaning of function (global) in Javascript
body: <p>I am trying to understand what <strong>function (global)</strong> means in code below, and is '<strong>window</strong>' the parameter value passed to the function or its the name of a parameter rather than the parameter value?</p>
  
  <p>May be this is simple JavaScript using an uncommon style of coding.</p>
  
  <pre><code>(function (global) {
  var mobileSkin = "",
      app = global.app = global.app || {};
      app.application = new kendo.mobile.Application(document.body, 
                        { layout: "tabstrip-layout", skin:"flat"});
  })(window);
  </code></pre>