Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
Difference between “var” and “let” Keywords?
Home
JavaScript
Difference between “var” and “let” Keywords?
asked
Jul 16, 2019
in
JavaScript
by
Indian
Difference between
“var” and “let”
Keywords?
#java-script
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
Related questions
+1
vote
Difference between “undefine” and “NULL” Keywords?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
What is let and const in javascript?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
0
votes
Differences between declaring variables using var, let and const.
asked
Dec 11, 2020
in
JavaScript
by
SakshiSharma
#var
const
#var-vs-const
#const-vs-var
+1
vote
What is difference between Array.splice() and Array.slice() method in JavaScript?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Difference between “==” and “===” ?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
0
votes
What is the difference between Let and Var in swift?
asked
Nov 7, 2022
in
Swift
by
Robin
var
let
swift
0
votes
Difference between ‘IS-A’ and ‘HAS-A’ relationship in java?
asked
Jun 17, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
Difference between overriding and overloading in java?
asked
Jun 17, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
Difference between ‘>>’ and ‘>>>’ operators in java?
asked
Jun 17, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
Difference between Character Constant and String Constant in java ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
What is difference between length and length() method in java ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
Difference between this() and super() in java ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
What is difference between c++ and Java ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-interview-question
#java-question
#interviewquestionandanswer
#javaanswer
Java-questions-answers
0
votes
Difference between method overloading and method overriding in java ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-interview
#java-question
#java-interview-question
#java-script
Java-questions-answers
+1
vote
What is closure and how do you use it?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
...