title: Value of "this" in a JS constructor function returns "undefined"
body: <p>So i have a constructor function</p>
  
  <pre><code>    var APP = function(name){
  
          this.appName = name
  
      }
  </code></pre>
  
  <p>And a prototype function</p>
  
  <pre><code>    APP.prototype.test = function(){
  
          console.log(this.appName)
  
      }
  </code></pre>
  
  <p>Then i create a new APP() and try out the test function.</p>
  
  <pre><code>    var app = new APP("ieps")
      var testing = app.test
  
      console.log(app.test()) // returns "ieps"
      console.log(testing()) // returns undefined
  </code></pre>
  
  <p>Why is it that testing() is returning undefined? testing() should do the same thing as app.test() since i'm just referencing app.test.</p>