The greyed-out thing is part of the immediate representation of the Date
object in the console - just like it is displaying Array(200)
for your array.
You will get the same representation when doing console.dir
as when having the object as a property of another object.
You will get a different representation when doing console.log
, as that shows different things depending on the type of the logged value and not always the expansible object representation.
the object is empty when expanded except for the proto object.
Yes, Date
instances don't have any own properties. The timestamp value is stored in an internal property which is not shown by the devtools.