title: How to access this in javascript modular pattern in private methods?
body: <p>How can I access this (the object this) while using a private method using the javascript module pattern?</p>
  
  <p>I do not understand how this works, I am still trying to learn it.</p>
  
  <pre><code>var o = o || {};
  o.Assets = (function() {
      "use strict";
  
      function privateFunc() {
          // how do I get this.assetQ?
      }
  
      function Assets(assetQ) {
          this.init(assetQ);
      };
      Assets.prototype.assetQ = [];
      Assets.prototype.cache = [];
      Assets.prototype.callback = false;
      /*
  Initialize the assets
  */
      Assets.prototype.init = function(assetQ) {
          if (assetQ) {
              this.assetQ = assetQ;
          }
      };
      return Assets;
  })();
  </code></pre>