JavaScript Var, Let and Const

You all familiar with var scope in JavaScript. It’s quite confusing to understand the behavior of scoping in JavaScript since you noticed variable scope limited to block only in most of the programming language whereas var is function scope so it has wide range. In ES6 or ECMA2015 new variables scope are introduce let & […]