title: setTimeout is not being called(?)
body: <p>The issue was my array was [[][][]] instead of [[]] : /</p>
  
  <p>This is my Script</p>
  
  <pre><code>function loopobject(array) {
      var me = this;
      this.array = array;
      this.loop = function() {
          counter = 0;
          while(array.length &gt; counter) {
              window[array[counter]]('arg1', 'arg2');
              counter++;
          }
          setTimeout(function(){ me.loop() }, 100);
      }
  }
  
  var loopinstant = new loopobject(array);
  window.onload = loopinstant.loop();
  </code></pre>
  
  <p>The problem arises after the first iteration. I don't know exactly the problem but I'm wondering if its due to the fact this is inside an object, and once the function is recreated it doesn't remember the array?</p>