title: console returning Unexpected token ')' while everything syntaxed perfectly in document.contains property
body: <p>hello i have syntaxed perfectly the code (as i think)
  but console.log still returning </p>
  
  <p>Uncaught SyntaxError: Unexpected token ')'</p>
  
  <pre><code>function checker() {
    document.querySelectorAll('.task-content').forEach( a =&gt; {
      if (a.classList.contains("delete")) {
        console.log('yes');
  
      } else {
        console.log('no');
    });
  }
  checker();
  </code></pre>
  
  <p>the console referring to the line in the end of else  the for each closing tag ')'
  , as i want to check if 'a variable' contains class of delete</p>