Javascript学习笔记Boolean type conversions

11. bool in number --true=1,flase = 0;
22.bool used in string ,true = "true",false = "false";
33.number used as boolean---!0&&!NaN = true
43.string not empty,not null and undefine = true
原文地址:https://www.cnblogs.com/binlyzhuo/p/1504634.html