Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Determine whether a Value is an Array in JavaScript


    In this lesson, you will learn how to check if a JavaScript value is an array with isArray() a static method provided by the Array built-in object. This is an alternative to using the operator typeof, since arrays are technically objects.