title: How to use Lodash Debounce on resize
body: <p>I'm trying to trigger an event on resize of window, it seems like it does not work.</p>
  
  <pre><code>$(window).resize(function(){
     _.debounce(function(){
         console.log("hello");
     }, 100);
  })
  </code></pre>