function isArray(o) {
return Object.prototype.toString.apply(o) === “[object Array]”;
}
function isFunction(o) {
return Object.prototype.toString.apply(o) === ”[object Function]“;
}
--JQuery 源码有....
时间: 2024-10-03 18:56:09
function isArray(o) {
return Object.prototype.toString.apply(o) === “[object Array]”;
}
function isFunction(o) {
return Object.prototype.toString.apply(o) === ”[object Function]“;
}
--JQuery 源码有....