Samples
Default Sample
Okay, so we've got this function here, right? You're using var instead of let, and your loop condition needs fixing. Check if player.level === maxLevel, then increment score++. Maybe console.log the output to debug what's happening.
Description
Total Likes
1
1
Mark Count
1
1
Shared Count
0
0
Task Count
1
1