Var is the old, all-encompassing way to declare a variable. A variable declared using
var can be reassigned if necessary, and it can be used anywhere throughout a function.
const refers to a variable that cannot be reassigned.
At this point I have only used