title: Trying to start a loop in an instanced class/Object but tells me the loop method is not a function
body: <p>Basically i start with this when document is ready:</p>
  
  <pre><code>var newObj = new MyClass(variables);
  newObj.start();
  </code></pre>
  
  <p>And MyClass looks like this (simplying it here)</p>
  
  <pre><code>var MyClass = function(){
  
      this.start = function(){
           this.loop();
      }
  
      this.loop = function(){
          // do lots of stuff here
          setTimeout(function(){this.loop();}, 1000);
      }
  
  } // end MyClass
  </code></pre>
  
  <p>During runtime it tells me that 'this.loop' is not a function  at the line where setTimeout is called</p>
  
  <p>What am i missing?</p>
  
  <p>Thanks</p>