Skip to content

es6

let in ES6

let allows the JavaScript engine to use BLOCK SCOPING, means variables are only allowed inside specific block, such as if/else statement which defined by {}