JS判断是否为数组

Object.prototype.toString.call(obj) === '[object Array]'
原文地址:https://www.cnblogs.com/alanDJ/p/3147266.html