6 lines
132 B
JavaScript
Raw Normal View History

2023-09-09 09:39:30 +08:00
var toString = {}.toString;
module.exports = Array.isArray || function (arr) {
return toString.call(arr) == '[object Array]';
};