判断是否为数组

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

原文地址:https://www.cnblogs.com/loveMis/p/9202156.html