Types of Variables in JavaScript

In the previous tutorial, we have learned to declare variables in JavaScript using var keyword and initialize a value to it. Now, we will understand the types of variables in JavaScript and their scopes. There are two types of variables…