Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
var count = 0;
function cc(card) {
// Only change code below this line
if(card >= 2 || card <= 6){
count++;
} else if(card >=7 || card <= 9){
count;
} else if(card = 10 || "J" || "Q" || "K" || "A"){
count--;
}
let holdBet = "Hold";
if(count > 0){
holdBet;
} else{
holdBet = "Bet"
}
return `${count} ${holdBet}`;
// 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 (X11; CrOS aarch64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36
Challenge: Counting Cards
Link to the challenge: