Block Binding in ES6

Block Binding in ES6

Var Declarations and Hoisting: Variable declarations using var are treated as if they are at the top of the function (or global scope, if declared outside of a function) regardless of where the actual declaration occurs; this is called hoisting. Consider the examples...
ECMA Script-6 Introduction

ECMA Script-6 Introduction

The JavaScript core language features are defined in a standard called ECMA-262. The language defined in this standard is called ECMAScript & this article covers the most recent major update & changes to the language: ECMAScript 6. ECMAScript is the core...