Counting cards and its mysteries

Tell us what’s happening:
Hi, everyone Here’s the problem.My code only works for the 1st sequence of cards 2,3,4,5,6 and …that’s all .Can someone point me towards the course I obviously didn’t understood .I can’t find the “why” it works only for one sequence and it’s driving me crazy .

``````  **Your code so far**
``````
``````
var count = 0;

function cc(card) {
// Only change code below this line
if (card = 2 || 3 || 4 || 5 || 6) {
count++;
} else if (card = 10 || 'J' || 'Q' || 'K' || 'A') {
count--;
}
if (count >= 1) {
return count + " Bet";
} else if (count < 1) {
return count + " 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 (Windows NT 6.1; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0`.

Challenge: Counting Cards

You have two issues here. First ,you need to make sure you understand what `card = 2` does. Hint, it is not a comparison. Second, if you want to compare the same variable to multiple values, you must make the comparisons individually. You can not simply put the variable on the left followed by a bunch of logical operators and values on the right of it. You literally must compare each value to the variable multiple times.