title: Uncaught RangeError: Maximum call stack size exceeded, JavaScript
body: <p>I have a problem</p>
  
  <pre><code>    open: function($type) {
            //Some code
            document.getElementById($type).addEventListener("click", l.close($type), false);
      },
      close: function($type) {
             //There is some code too
             document.getElementById($type).removeEventListener("click", l.close($type), false);
             //^ Recursion &amp; Uncaught RangeError: Maximum call stack size exceeded
      }
  </code></pre>
  
  <p>What I'm doing wrong? Without this click event listener everything is working well. And what is the third parameter doing (true|false)? Thank you.</p>