Please can you send the exact code so i’ll give you a specific answer,
but from this code card and count are undefined, I think you need to create a variable like:
var card=3;
var count=2;
but i’m still not sure because the complete code was not sent
please post your whole code and the challenge link
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
I think the problem is that you are missing white space in return.
With your current code, output will we “4Bet” or “-3Hold”.
So instead of writing return count + "Bet",
write return count + " Bet"
That should work.