首页 > 技术文章 > JavaScript 判断是不是数组

dreamsails 2020-04-11 14:32 原文

Object.prototype.toString.call(o) == '[object Array]';

推荐阅读