typeof '123' == 'string' // true
typeof ('123' == 'string' ) // "boolean"
typeof 123 == Number // false
typeof 123 == 'number' // true
typeof (123 == Number) // "boolean"
typeof (1===1) //"boolean"
typeof 1===1 // false
typeof '123' == 'string' // true
typeof ('123' == 'string' ) // "boolean"
typeof 123 == Number // false
typeof 123 == 'number' // true
typeof (123 == Number) // "boolean"
typeof (1===1) //"boolean"
typeof 1===1 // false
转载于:https://www.cnblogs.com/zuojiayi/p/10438922.html