I saw the following statements at W3school.
I came from a beginner java background, so the data types and types of objects in javascript is confusing me quite a bit. I have a few questions:
- what does "object" data type consist of?
- What is the difference between data type "object" and types of objects "Object"?
- when I tried to find out the data type of "null" by typing
typeof null
, my IDE tells me that it is of type "object", not of type "null", which is what I expected.