Intro to JS
In JavaScript, var, let, and const are keywords used to declare variables.

var:
Scope: var declarations are function-scoped or globally-scoped. This means a variable declared with var is accessible throughout the entire function it's declared in, or globally if declared outside any function.
Hoisting: var declarations are hoisted,...