I'm wondering how a variable can be named let
because let
is a reserved word in JavaScript!
var let = "a value"; // this works!!!
let let = "a value"; // luckily this doesn't work
While reading about reserved words in JavaScript I used this website and also I checked this Stackoverflow question (see the answer of art4theSould) and both of them (also the same thing in other sources) said that let
-as everyone can image- is a reserved word in JavaScript.