let obj = {}
Object.prototype.toString.call(obj) == "[object Object]"
使用原型的方式判断数据类型,虽然写起来繁琐一点,但是准确性很高
let a = 1 // a = new Number()
let b = "1" // b = new String()
let c = {} // c= new Object()
let d = function () {} // d = new Function()
let e = [] // e = new Array()