As a reminder from the previous video, you already know that the keyword
is supposed to create global variables that can be accessed from the global scope, and you learn also that the var keyword is function scoped.
Now we’ve to deal with two new keywords, let and const which are block scoped,
that means that if you create any variable within a block, as an example a
function, a condition, or a for loop, it will be accessible only within its
scope, still there are some differences between let and const that we’ll
discover on this video.