Instances of built-in types (e.g. Array, RegExp, Date, Map, etc.)
Instances of custom classes or constructor functions
The null value is explicitly excluded, even though typeof null === 'object'.
The constructor refers to the actual constructor function that created the object.
Any non-null object value - including:
{},new Object())Array,RegExp,Date,Map, etc.)The
nullvalue is explicitly excluded, even thoughtypeof null === 'object'. Theconstructorrefers to the actual constructor function that created the object.