Get Programming with JavaScript - Listing 2.10
Listing 2.10 - Declaring and assigning a variable with let
// declare the variable
let score;
// assign it a value
score = 100;
console.log(score);
// assign a new value
score = score + 50;
console.log(score);