MDRSS · MARKDOWN SNAPSHOT
9.8/10
ES6 for Humans
let allows you to create declarations which are bound to any block, called block scoping. Instead of using var, which provides function scope, it is recommended to use block scoped variables (let or const) in ES6. Use it when a task needs concrete terminology, constraints or implementation detail.