+2 votes
in JavaScript by

Difference between “var” and “let” Keywords?

1 Answer

0 votes
by

    • Var was there from the beginning but the let was introduced in ES2015/ES6.
      Let has block scope and “Var” has function scope
...