Is it an array?

Report a typo

Finish writing the checkData function. It should accept a data structure and check whether it's an array or not.

Use console.log() to print the result.

Sample Input 1:

array

Sample Output 1:

false
Write a program in JavaScript
function checkData(data) {

}
___

Create a free account to access the full topic