摘要: function Foo(a, b) { this.a = a; this.b = b; // simulate getter via valueOf and toString method this.sum = { valueOf: function () { return a + b }, toStr... 阅读全文
posted @ 2014-08-17 21:59 PengpengSong 阅读(186) 评论(0) 推荐(0) 编辑