To solve this problem you can create your own isArray() function: code example
Example: To solve this problem you can create your own isArray() function:
function isArray(x) {
return x.constructor.toString().indexOf("Array") > -1;
}
function isArray(x) {
return x.constructor.toString().indexOf("Array") > -1;
}