function isArray(o) {
return Object.prototype.toString.apply(o) === “[object Array]”;
}
function isFunction(o) {
return Object.prototype.toString.apply(o) === ”[object Function]“;
}
--JQuery 源码有....
function isArray(o) {
return Object.prototype.toString.apply(o) === “[object Array]”;
}
function isFunction(o) {
return Object.prototype.toString.apply(o) === ”[object Function]“;
}
--JQuery 源码有....