Js字符串判断

判断字符串

str='';

if(!str) // str为null 或者"" 或者0 

原文地址:https://www.cnblogs.com/jiechn/p/3976844.html