in JavaScript by
Q:

Difference between “var” and “let” Keywords?

▼ Show 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
JavaScript
Learn More with Madanswer

Related questions

+1 vote
asked Jul 16, 2019 in JavaScript by Indian
...