javaScript 判断为false


JavaScript把nullundefined0NaN和空字符串''视为false,其他值一概视为true

原文地址:https://www.cnblogs.com/donke/p/10014110.html