摘要: function Parent(){ this.name = "李小龙"; this.age = "30"; };Parent.prototype.lev=function(){ return this.name;}var x=Parent();alert(x.name);alert(x.lev() 阅读全文
posted @ 2018-10-02 08:57 雨夜稻草 阅读(217) 评论(0) 推荐(0) 编辑