Lesson
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.
- Duration
- 1 min
- Access
- Free
- Transcript
- Available
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.