Javascript: What Is The Data Type Of Null?
It is said that null, in JavaScript, is a primary type. However, when I use the operator typeof on null, it returns 'Object'. What is the underlying procedure that made typeof to r
Solution 1:
Type of null is object.
you can check type of any variable with typeof
keyword.
for example
typeofnull
check the link below for more details.
Post a Comment for "Javascript: What Is The Data Type Of Null?"