if (typeof(reValue) == "undefined") { alert("undefined"); } 转载于:https://www.cnblogs.com/wuyou/p/3480630.html