摘要:
1. 安全的创建对象Function Obj(name) { if (!(this instanceof Obj)) { return new Obj(name); } this.name = name;}// both is rightvar obj1 = Obj();var obj2... 阅读全文
posted @ 2015-09-07 16:25
coding4范儿
阅读(103)
评论(0)
推荐(0)