js 小组件

来源:互联网 发布:协同过滤算法讲解 编辑:程序博客网 时间:2024/04/28 16:06

1,判断是否为数组(add 2014-07-22)

function isArray(obj) {return Object.prototype.toString.call(obj) === '[object Array]';}


0 0