scrimba
Learn Basic JavaScript
Counting Cards
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Counting Cards
Expand for more info
index.js
run
preview
console
var count = 0;

function cc(card) {



return "Change Me";

}


cc(2); cc(3); cc(7); cc('K'); cc('A');
console.log(cc(4))
Console
null
,
index.html
-5:28