Jul 16, 2019 in JavaScript
Q:

Difference between “var” and “let” Keywords?

1 Answer

0 votes
Jul 16, 2019

    • Var was there from the beginning but the let was introduced in ES2015/ES6.
      Let has block scope and “Var” has function scope
Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

+1 vote
Jul 16, 2019 in JavaScript
...