Changing values
Watch it run · 1 of 3
Add, add, add
1let score = 10;2score = score + 5;3score += 5;4score++;5score--;6console.log(score);
Memory
number score
10
Output
(nothing yet)line 1Start at 10.
step 1 of 6
Watch it run · 1 of 3
1let score = 10;2score = score + 5;3score += 5;4score++;5score--;6console.log(score);
Memory
number score
10
Output
(nothing yet)line 1Start at 10.