js Array的方法及属性总结

isArray() 判断是否为数组

ie,chrome中都适用

console.log(Array.isArray([1,2])) //true
posted @ 2018-11-18 22:06  C小小  阅读(199)  评论(0编辑  收藏  举报