js对已经对象类型进行类型辨别

typeof()

Object.prototype.toString.call(data)

原文地址:https://www.cnblogs.com/Fly-Wind/p/4922541.html