未初始化的变量即为undefined
var weidapao
undefined
丢失的参数也是undefined
function wei(x){ return x}
undefined
wei()
undefined
访问对象上不存在的属性,返回undefined
var obj3 = {cha:"good"}
obj3.salary
undefined
var weidapao
undefined
function wei(x){ return x}
undefined
wei()
undefined
var obj3 = {cha:"good"}
obj3.salary
undefined