1.操作符背后的隱式轉(zhuǎn)換關(guān)系
"1.23"-1.23----為NaN
var num="23";--最簡(jiǎn)單的轉(zhuǎn)換為number類型 +/-num
==背后隱式轉(zhuǎn)換:
String==number ---將String轉(zhuǎn)換為number進(jìn)行比較
boolean==? ---將boolean轉(zhuǎn)換為number,true:1 false:0
object==number||String ---將Object轉(zhuǎn)換為基本類型
2. 類型檢測(cè)

類型的檢測(cè)
3. 類型的判斷
typeof 得出右邊的值得類型
instanceof 左邊是不是右邊的實(shí)例
Object.prototype.toString.apply(數(shù)據(jù)類型-[]數(shù)組/function(){}函數(shù)/null null/Undefined Undenfined)
總結(jié)

總結(jié)