javascript Why Does typeof Return 'object' Instead of 'array' in JavaScript? Joe Bologna Read more posts by this author. Joe Bologna 4 Feb 2017 • 1 min read Array is an object in JavaScript. To check if a variable is an array, you need to do this: a.constructor === Array