js 判断是否为空

js 判断是否为空

一般判断为空有 null值、undefined值与NaN值判断undefined:var tmp = undefinedif (typeof(tmp) == "undefined"){    alert("u
JavaScript680