https://github.com/lianbinghua

摘要: var myObject = { value :0, increment:function (inc){ this.value += typeof inc ==='number' ? inc:1; } }; myObject .increment(); console.log(myObject.value); myObject .increment(2); console.l... 阅读全文
posted @ 2016-03-29 13:20 连冰华 阅读(187) 评论(0) 推荐(0)