A lot of new features came out with ES6. One of the features that came with ES6 is the addition of let and const, which can be used for variable declaration. The question is, what makes them different from var which we’ve been using? If you are still not clear about this, then this article is for you.
In this video, you can learn var, let and const with respect to their scope, use, and hoisting.