Let It Be – How to Declare JavaScript Variables: Madhatted.com

ES2015 added a variety of riches to JavaScript. Among them are two new ways
to declare variables, let and const. These tools were introduced to
address faults of var, provide us an opt-in path to new functionality, and
bring richers semantics to JavaScrip…