title: How do you write the opposite of .classList.contains("class"), meaning classList does not conatin
body: <p>I was wondering how to write the opposite of <code>this.classList.contains(&quot;theClass&quot;)</code> meaning <code>this.classList.</code>does not <code>contains(&quot;theClass&quot;)</code>. This is for an if statement. In my case it is</p>
  <pre><code>if (square.classList.contains(&quot;bitCoin&quot;)){
          jump();
        }
  </code></pre>
  <p>but I want to make it if it DOES NOT contain class <code>&quot;bitCoin&quot;</code>.</p>
  <p>Thanks</p>