基本数据类型检测typeof()数组检测[] instanceof Array万能检测Object.prototype.toString.call() 转载于:https://www.cnblogs.com/J--L/p/10553710.html