title: Underscore.js debounce
body: <p>I try to debounce a function using Underscore.js 1.6.0 but the function isn't called after the timeout set. I expect exactly one "o" in the output div, but there is none. Changing <code>_.debounce(echo, 200)</code> to <code>_.debounce(echo(), 200)</code> produces 10 o's which is not what I want. Same result on Chrome and Firefox on Mac OS X.</p>
  
  <p>What am I doing wrong? Am I using _.debounce in the wrong way?</p>
  
  <p>See <a href="http://jsfiddle.net/YmSGL/" rel="nofollow">http://jsfiddle.net/YmSGL/</a> for a working example.</p>
  
  <pre><code>function echo() {
      var out = document.getElementById("out");
      out.innerHTML = out.innerHTML + "o";       
  }
  
  for (var i = 0; i &lt; 10; i++) {
      var wait = Math.floor(Math.random() * 100);
      setTimeout(function() {
          console.log("Calling echo @" + _.now());
          _.debounce(echo, 200);
      }, wait);
  }
  </code></pre>