判断是否为数组

Array.isArray(obj);结果为true或者false

posted @ 2018-06-20 09:15  杨不凡  阅读(74)  评论(0编辑  收藏  举报