[javascript] js判断变量要考虑undefine 遇到未定义的变量 , 判断是一定要区分出来 , 备注一下: if(typeof(page)=="undefined" || page==""){ } if(typeof(fid)!="undefined" && fid!=""){ }