1 any—->number
console.log(Number("3")); // 3
console.log(Number(true)); // 1,false为0
console.log(Number(null)); //0
console.log(Number(undefined));//NaN
console.log(Number("hello"));//NaN
2 any to boolean
0--->false,其他数字为true
""--->false,其他情况为true
console.log(Boolean(null));//false
console.log(Boolean(undefined));//false
console.log(Boolean(NaN));//false
3 any to string
String();
toString();
+"";