+ 1
javascript typeof
why does javascript return ==> typeof null //as object instead of typeof null //as null ?????
2 Answers
+ 2
cause null is object.
There is no such type as null.
Use google to check all possible js data types.
why does javascript return ==> typeof null //as object instead of typeof null //as null ?????