Let's take a look at the results
we get when we use typeof
with composite data types:
From the example given above,
we can see that,
when we use typeof
with
any composite data type,
we get the output "object".
Note that,
when we use typeof
with null
we get the output as "object".