js關於null和undefined的理解

function User( ){this     this.name = "張山";get     this.age = 20; io }function var people = new User(); class alert(people.sex);demo 將會彈出undefined;document undefined是存在的東西,可是相應的屬性沒有定義; new var demo =
相關文章
相關標籤/搜索