20.
Which of the following is the correct usage of the Array.isArray() method in JavaScript?
isArray.array()
array.isArray(Array)
is.array(Array)
Array.isArray(array)
Correct: D
The Array.isArray() method is called on the Array object and takes a value as its parameter. It returns true if the value is an array and false otherwise. The correct usage is Array.isArray(array) where array is the value being checked.