Answers

Question and Answer:

  Home  JavaScript

⟩ What is the difference between undefined value and null value?

(i) Undefined value cannot be explicitly stated that is there is no keyword called undefined whereas null value has keyword called null

(ii) typeof undefined variable or property returns undefined whereas typeof null value returns object

 159 views

More Questions for you: