1. "1"-9+"true"-parseInt(12.34) // NaN
    2. "9"-8+"false" // 1false
    3. "9"-8-"false" // NaN
    4. 10+"2"-true-"false" // NaN
    5. "10"+1-true //100
    6. "10"+1+true //101true
    7. "10"-1+true // 10
    8. "10"+true-1 // NaN
    9. "true1"-1 // NaN
    1. var a = 10
    2. var m =a++ + ++a +20 // 10+12+20
    3. console.log(m) // 42
    4. var b = 4
    5. var c = --b +10; //13
    1. var b = 0 || "abc" //abc
    2. var c = "abc" || 1; //abc
    3. var d = 0 || NaN //NaN
    4. var f = NaN || 0 //0
    5. var a = "abc" && 10 //10
    6. var b = 0 && "abc" //0
    1. console.log(false == ""); // true
    2. console.log(true == 1); // true
    3. console.log(null == undefined); // true
    4. console.log(undefined == false); // false
    5. console.log(1 == "1"); // true
    6. console.log(null == false); // false
    1. //NaN和任何值做计算,结果一定是NaN
    2. console.log(Number(undefined));//NaN
    3. console.log(Number(NaN));//NaN
    4. console.log(Number(null));//0
    5. console.log(Number(""));//0
    6. console.log(Number(false));//0