JS Let
The let keyword was introduced in ES6 (2015). Variables defined with let cannot be Redeclared in the same scope.
The let Keyword in JavaScript
Variables declared with let have Block Scope. This means they are only accessible within the block (e.g., inside {...}) they are declared in.
They cannot be redeclared within the same scope, which helps prevent common bugs.
Variables defined with let must be Declared before use.