title: How to configure switch case statements with 2 boolean variables?
body: <p>I am new to JavaScript and trying to implement switch case statements to output one of 4 options according to the combination of values of 2 Boolean variables. However, it seems that javascript is ignoring the second variable (adultCheck). Can you tell me what I am doing wrong please?</p>
  <p>Thank you!</p>
  <pre><code>let raceNumber = Math.floor(Math.random() * 1000);
  let earlyRegistry = false;
  let adultCheck = true;
  let runnerAge = 19;
  
  //determines if runner is an adult or not
  runnerAge &gt; 18 ? adultCheck = true : adultCheck = false;
  //assigns racenumber according to runner having registered early or not
  earlyRegistry ? raceNumber += 1000 : raceNumber;
  
  //below logs for checks only
  console.log(earlyRegistry);
  console.log(raceNumber);
  console.log(runnerAge);
  console.log(adultCheck);
  
  //determines race start time according to runner being adult or not and if registered early or not
  switch (earlyRegistry &amp;&amp; adultCheck) {
    case (true &amp;&amp; true):
      console.log(`Your race number ${raceNumber} will start at 09:30am`);
      break;
    case (false &amp;&amp; true):
      console.log(`Your race number ${raceNumber} will start at 11am`);
      break;
    case (true &amp;&amp; false):
      console.log(`Your race number ${raceNumber} will start at 12:30pm`);
      break;
    case (false &amp;&amp; false):
      console.log(`Your race number ${raceNumber} will start at 12:30pm`);
      break;
    default:
      console.log('Invalid item');
      break;
  }
  </code></pre>