Basic JavaScript - Counting Cards

Tell us what’s happening:
Describe your issue in detail here.
I keep getting an error in cc(‘K’) and cc(‘A’) below the code area
Your code so far

let count = 0;

function cc(card) {
  // Only change code below this line
switch (card){
  case 2:
  case 3:
  case 4:
  case 5:
  case 6:
  count++
  break;
  case 10:
  case J:
  case Q:
  case K:
  case A:
  count--
  break; 
}
if (card > 1 && card > 7){
  return "5 Bet";
}else if (card = 10,J,Q,K,A){
  return "-5 Hold";
}else if (card = 3,7,Q,8,A){
  return "-1 Hold";
}else if (card = 2,J,9,2,7 ||2,2,10){
  return "1 Bet";
}else if (card = 3,2,A,10,K){
  return "1 Hold";
   // Only change code above this line
}

cc(2); cc(3); cc(7); cc('K'); cc('A');

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; TECNO KG5k) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36

Challenge: Basic JavaScript - Counting Cards

Link to the challenge:

aren’t you missing something? count your opening and closing brackets

Please also delete your if/else if/else statements. You want to use count to determine the output

are you sure? you are not putting == or === in those if condition if it is your code you are running ,
sorry I am new here, this could be just a sudo code for letting us know the logic in your code, if it is not, you got your problem,