title: Can I use a case/switch statement with two variables?
body: <p>I am a newbie when it comes to JavaScript and it was my understanding that using one SWITCH/CASE statements is faster than a whole bunch of IF statements.  </p>
  
  <p>However, I want to use a SWITCH/CASE statement with two variables.</p>
  
  <p>My web app has two sliders, each of which have five states.  I want the behavior to be based on the states of these two variables.  Obviously that is a whole heck of a lot of IF/THEN statements.</p>
  
  <p>One way I thought about doing it was concatenating the two variables into one and then I could SWITCH/CASE that.</p>
  
  <p>Is there a better way of accomplishing a SWITCH/CASE using two variables ?</p>
  
  <p>Thanks !</p>