let
const
, and var
?They are JavaScript's variable declaration keywords.
let
const
, and var
?let
creates a mutable block scope variable.
const
cannot be overwritten, or changed by another line of code once it is assigned.
var
creates a mutable function, or global scope variable based on where it was defined.