Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Difference between “var” and “let” Keywords?
Home
JavaScript
Difference between “var” and “let” Keywords?
+2
votes
asked
Jul 16, 2019
in
JavaScript
by
Indian
Difference between
“var” and “let”
Keywords?
#java-script
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 16, 2019
by
Indian
Var
was there from the beginning but the let was introduced in ES2015/ES6.
Let
has block scope and “Var” has function scope
...