title: How to use OR condition in a JavaScript IF statement?
body: <p>I understand that in JavaScript you can write:</p>
  
  <pre><code>if (A &amp;&amp; B) { do something }
  </code></pre>
  
  <p>But how do I implement an OR such as:</p>
  
  <pre><code>if (A OR B) { do something }
  </code></pre>