Counting Cards help with solution

Tell us what’s happening:
What is wrong with my code? Been trying to play spot the difference for an hour.

Your code so far

var count = 0;

function cc(card) {
  // Only change code below this line
  switch (card){

case 2:
case 3:
case 4:
case 5:
case 6:

case 10:
case "J":
case "Q":
case "K":
case "A":

  if (count > 0){
  return count + "Bet";

}else {return count + "Hold";}

  // Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36.

Link to the challenge:

You currently return values such as “5Bet” or “-1Hhold”. Check the instructions for the exact string syntax which should be returned. You are close.

wow added one space from the quotes and it worked! thank you so much. why is that space important?

Because that is just the format the tests are looking for as specified by the instructions.

ah I see it now thank you for your help!