Human-readable name for the runtime type of a value.
typeof reports a bare "object" for null and for every non-primitive,
which makes an error message unable to distinguish a plain object from
null or from the basic containers, so those are named individually.
Human-readable name for the runtime type of a value.
typeofreports a bare"object"fornulland for every non-primitive, which makes an error message unable to distinguish a plain object fromnullor from the basic containers, so those are named individually.