title: jQuery if condition 1 or condition 2 is true than
body: <p>I am trying to alert "yes" if ether of the conditions in my if statement are true:</p>
  
  <pre><code>var a = 2;
  var b = 1;
  if (a = 1 or b = 1 ) {
      alert('yes');// should alert in this case
  } else {
      alert('no');
  }
  </code></pre>
  
  <p><a href="https://jsfiddle.net/90z7urvd/1/" rel="nofollow">https://jsfiddle.net/90z7urvd/1/</a>
  What do I use for the if, if this is possible?</p>