JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects Review Loops, Arrays, and Objects

Tom Holsters
Tom Holsters
2,844 Points

"A two-dimensional array is an array of objects." is wrongly set to false

This should be true, since an array is an object itself. The question is ambiguous.

Tom Holsters
Tom Holsters
2,844 Points

If you type in the console: typeof([]), the return value is "object"

1 Answer

Steven Parker
Steven Parker
195,561 Points

You make a good point. While arrays have some special properties, they are still kinds of objects.

You might want to report this as a bug as described on the Support page.
It may get you an "Exterminator" :beetle: badge!