const variables are variables that behave like let but cannot be reassigned.
let declares a block-scope variable.
var variables are function-scoped or globally-scoped variables. A var variable can be declared anywhere, including after it is used, for example, at the bottom of a function that uses the variable.