Use let to declare a variable:
let score = 0
let playerName = "Alice"
let isActive = true
The let keyword tells JavaScript you're creating a new variable. The name comes next, followed by = and the initial value. You can change a let variable's value anytime:
let count = 5
count = 10 // Now count is 10