玩笑过后

导航

2018年7月5日 #

原型一些小问题

摘要: function Person(){ this.name = 'zhangsan'; Person.prototype = { age:23, job:'worke' } };var P1 = new Person();console.log(P1); 阅读全文

posted @ 2018-07-05 18:34 玩笑过后 阅读(57) 评论(0) 推荐(0) 编辑