Tell us what’s happening:
I have some issues here. For 1 Bet and -1 Hold, I got one for each correct and one for each wrong. I’d like to know where my mistake is.
Your code so far
let count = 0;
function cc(card) {
// Only change code below this line
return "Change Me";
// 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Counting Cards