+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

Related questions

+2 votes
asked Jul 16, 2019 in JavaScript by Indian
0 votes
asked Jun 17, 2019 in JAVA by reins.robin
...