Javascript var, let & const – What’s the Difference?

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.

I like to hear from you about this !!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.