JavaScript 判断是不是数组

Object.prototype.toString.call(o) == '[object Array]';
原文地址:https://www.cnblogs.com/dreamsails/p/12679505.html