欧美一区二区三区,国内熟女精品熟女A片视频小说,日本av网,小鲜肉男男GAY做受XXX网站

JS面向對象編程

阮建安2年前15瀏覽0評論

JS面向對象編程?

function A(name){this.name = name;this.sayHello = function(){alert(this.name+” say Hello!”);};} function B(name,id){this.temp = A;this.temp(name); //相當于new A();delete this.temp; this.id = id; this.checkId = function(ID){alert(this.id==ID)};}

css繼承使用,JS面向對象編程