The let keyword allows you to declare a variable with block scope.
Example
var x = 10;
// Here x is 10
{
let x = 2;
// Here x is 2
}
// Here x is 10
The let keyword allows you to declare a variable with block scope.
Example
var x = 10;
// Here x is 10
{
let x = 2;
// Here x is 2
}
// Here x is 10
For further actions, you may consider blocking this person and/or reporting abuse
Corey O'Donnell -
Manu Muraleedharan -
Josh Derocher-Vlk -
Wojciech Lepczyński -
Oldest comments (0)