Difference
between undefined value and null value
-
S.No
undefined value null value 1 Undefined value cannot be explicitly stated i.e., there is no keyword called undefined null value has keyword called null. 2Typeof undefined variable or property returns undefinedType of null value returns object.
No comments:
Post a Comment