let

A keyword that declares a block-scoped variable that can be reassigned.

What is let in JavaScript?

let — A keyword that declares a block-scoped variable that can be reassigned.

let score = 10;
score = score + 5;

Level: Novice · More JavaScript terms at this level

Updated