undefined 类型是从null派生来的。因此未被定义的变量可以用undefined来判断:if(temp == undefined ){…};//true而:var temp;if(temp == undefined ) ...
確定! 回上一頁