判断是否为数组

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

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