标签:
function isArray(value) { if (typeof Array.isArray === "function") { return Array.isArray(value); } else { return Object.prototype.toString.call(value) === "[object Array]"; } }
js isArray
原文地址:http://www.cnblogs.com/dragonli/p/5527494.html