1.type of 返回值:number string boolean undefined function object.
2. intanceof 功能:检测一个实例是否属于一个类;返回值:true或false
3.constructor构造函数
4.Object.prototype.toString.call()
Object.prototype.toString.call([])//
1.type of 返回值:number string boolean undefined function object.
2. intanceof 功能:检测一个实例是否属于一个类;返回值:true或false
3.constructor构造函数
4.Object.prototype.toString.call()
Object.prototype.toString.call([])//