Let in Javascript
let:
The let statement declares a block-scoped, local variable.
syntax:
let x ;
let x = 2 ;
Description:
In the usage of let, we can divide the let concepts into three categories, they are
Scoping rules.
Re-declaration.
Temporal dead zone.
Scopin...
yaswanthmyneni.hashnode.dev4 min read