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 “undefine” and “NULL” Keywords?
Home
JavaScript
Difference between “undefine” and “NULL” Keywords?
+2
votes
asked
Jul 16, 2019
in
JavaScript
by
Indian
Difference between “undefine” and “NULL” Keywords?
#java-script
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 16, 2019
by
Indian
When you define a var but not assign any value. typeof(undefine)=> undefine
Null- manually done. typeof(null)=> object
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+2
votes
Q: Difference between “var” and “let” Keywords?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Q: What is difference between Array.splice() and Array.slice() method in JavaScript?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+2
votes
Q: Difference between “==” and “===” ?
asked
Jul 16, 2019
in
JavaScript
by
Indian
#java-script
+1
vote
Q: What does null mean 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
Q: 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
Q: 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
Q: 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
+1
vote
Q: 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
Q: 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
Q: 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
...