clearInterval.bind() does not work as a parameter passed into addEventListener
<p>I was wondering why <code>clearInterval.bind</code> doesn't work as a parameter passed into <code>addEventListener</code> function. Simple example to emulate situation.</p>

<p><em>html</em></p>

<pre><code>&lt;button id="start"&gt;Start&lt;/button&gt;
&lt;button id="end"&gt;End&lt;/button&gt;
&lt;div id="app"&gt;&lt;/div&gt;
</code></pre>

<p><em>js</em></p>

<pre><code>var timer;
var i = 0;
document.getElementById('start')
    .addEventListener('click',function(){
       timer = setInterval(function(){
         document.getElementById('app').innerHTML = i
         i ++
    }, 1000)
},false)


document.getElementById('end')
    .addEventListener('click',clearInterval.bind(window,timer),false);
</code></pre>

<p>Everything works as expected when i surround <code>clearInterval</code> into anonymous function like below.</p>

<pre><code>document.getElementById('end').addEventListener('click',function(){
    clearInterval.bind(window,timer)();
    // or just simple clearInterval(timer)
},false);
</code></pre>

<p>Why it doesn't want work? Did i miss something?</p>