Throttling with Lodash doesn't work
<p>I want to use Lodash's <code>throttle</code> to have fewer function invokes on scroll. My code is as follows:</p>

<pre><code>window.addEventListener('scroll', _.throttle(() =&gt; { console.log('bam'); }), 1000);
</code></pre>

<p>Unfortunately, this doesn't work - I am getting <code>bam</code>-ed all the time, and not every one secound. </p>

<p>What can I do?</p>

<p>CodePen: <a href="http://codepen.io/tomekbuszewski/pen/oxeOXy?editors=1111" rel="noreferrer">http://codepen.io/tomekbuszewski/pen/oxeOXy?editors=1111</a></p>