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([])//