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