Skip to content
All challenges
ProgrammingPredict the outputBeginner2 min

Updating a score

Skills: Variables and scope · Operators

Task

Read the code and type exactly what it logs.

Your answer

let score = 10;
score = score + 5;
score += 2;
console.log(score);