title: Multiple conditions for switch in javascript
body: <p>How can I set multiple conditions for switch statement in JS? </p>
  
  <p>or How to set or condition inside switch?</p>
  
  <p>eg:</p>
  
  <pre><code>switch(apple.amount) or switch(orange.amount)
  {
  
  case '1 kg':
  total = 100;
  break;
  
  case '2 kg':
   total = 200;
  break;
  }
  </code></pre>