Checks whether a value is an array.
- Category: JS Array Methods Reference — part of the JavaScript Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "Array.isArray()" in one sentence, then back it up with a tiny example
// Array.isArray() — minimal example
console.log("Array.isArray()");Tip
Quick recall: "Array.isArray()" — checks whether a value is an array.