摘要: function A(){ this.do=function() {return 'foo'} } //原型的两种写法01 // A.prototype={ // constructor:A, // do:function() {return 'bar'} // } //原型的两种写法02 A.pr 阅读全文
posted @ 2019-06-09 15:56 Ericfirst 阅读(194) 评论(0) 推荐(0)