摘要:
数组 ECMAScript5中Array.isArray是原生的判断数组的方法,IE9及以上支持。考虑到兼容性,在没有此方法的浏览器中,可以使用Object.prototype.toString.call(obj) === '[object Array]'替代。var isArray = Arra... 阅读全文
posted @ 2015-02-28 15:46
Within_Temptation
阅读(1144)
评论(0)
推荐(0)