function name() { this.age = "15"; }; function Toms() { this.mono = new name(); }; var Tom = new Toms(); alert(Toms.name);
添加回答
举报
0/150
提交
取消