Results 1 comments of loogn

wind-core.js里的 var isArray = function (obj) { return Object.prototype.toString.call(obj) === '[object Array]'; } 可以优化成 var isArray = function (obj) { return obj && obj.constructor===Array.prototype.constructor; }; 从函数调用+字符串比较简化成引用的比较