微信扫一扫
一般:
if(str!=null && str!=undefined && str!=""){ //something }
可简化为
if(!str){undefined //something }
相关推荐