title: Which one execute first?
body: <p>Here is the code:</p>
  
  <pre><code>&lt;script&gt;
      document.getElementById('btn').addEventListener('mousedown',(function(){
          console.log('code');
      }));
  &lt;/script&gt;
  &lt;input id="btn" type="button" onmousedown="console.log('button')"&gt;
  </code></pre>
  
  <p>Which one will execute first and why?</p>