4 lines
120 B
JavaScript
4 lines
120 B
JavaScript
|
module.exports = Array.isArray || function (arr) {
|
||
|
return Object.prototype.toString.call(arr) == '[object Array]';
|
||
|
};
|