+ 1

What is the difference between *not defined* and *Undefined* in JavaScript??

"""""""Values assigned to a variable implicitly when we not didn't initialize them.....'""""""

22nd Mar 2019, 5:26 AM
Abdul Rasul
Abdul Rasul - avatar
1 Answer
+ 2
Undefined means you have declared the variable but didn't assign any value. Not defined means you have not declared the variable.
22nd Mar 2019, 5:33 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar