説明
N/A
en
サンプル
1
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.