Object.prototype.toString.call([]) === '[object Array]'
Object.prototype.toString.call(null)
输出:"[object Null]"
Object.prototype.toString.call({})
输出:"[object Object]"
Object.prototype.toString.call(undefined)
输出:"[object Undefined]"
Object.prototype.toString.call('')
输出:"[object String]"
Object.prototype.toString.call('1.123')
输出:"[object String]"
Object.prototype.toString.call(2)
输出:"[object Number]"
Object.prototype.toString.call(1.12)
输出:"[object Number]"
Object.prototype.toString.call(false)
输出:"[object Boolean]"
Object.prototype.toString.call(true)
输出:"[object Boolean]"