Explain the difference between var / conlet and JavaScript variable declaration
Let and const are newly added commands in ES6 to declare variables. These two commands are different from var in ES5, and let and const are slightly different
The difference between var and let/const
Block level scopeThere is no variable promotionTemporary dead zoneNon repeatable declarationThe global variables declared by let and const ...
Posted by ridgedale on Wed, 02 Feb 2022 02:56:40 +0100