DEV Community

loading...

Discussion on: Typeof array is an object in javascript

Collapse
sergeypodgornyy profile image
Sergey Podgornyy

That's because JavaScript is a prototype-based language πŸ™‚ And more interesting is to check is the variable an object.

Do you know how? or should I share my solution? πŸ˜‰