title: Does addEventListener guarantee to be synchronous?
body: <p>So, I want to remove an input element before user submit the form. I know JS normally is synchronous, but there are situation that it could act asynchronous.</p>
  
  <p>My question is, is my code <strong>guarantee</strong> to remove the input element before submit? Thank you!</p>
  
  <pre><code>form.addEventListener("submit",removeElement(e));
  
  function removeElement(e){
      return function(){
          e.remove();
      }
  }
  </code></pre>