title: JavaScript: What is the opposite of the logical operator `A && B`?
body: <p>In the following code, what is the opposite of the condition <code>(ran1 &lt;= 63 &amp;&amp; ran2 &lt;= 18)</code>, which should fit in the <code>else</code> portion of the <code>if</code> statement?</p>
  
  <p>Is it both <code>(ran1 &lt;= 63 || ran2 &lt;= 18)</code> and <code>(! (ran1 &lt;= 63 &amp;&amp; ran2 &lt;= 18))</code>?</p>
  
  <p>Logically, I suppose that the opposite of <code>A and B</code> is both <code>A or B</code> and <code>neither A nor B</code>. But I'm not sure how to express the <code>neither A nor B</code> bit in JavaScript.</p>
  
  <pre><code>var ran1 = 1 + Math.floor(Math.random() * 100);
  var ran2 = 1 + Math.floor(Math.random() * 100);
  
  if (ran1 &lt;= 63 &amp;&amp; ran2 &lt;= 18) {
      // code
  } else {
      // code
  }
  </code></pre>