摘要: apply和call function Person(c, d) { return this.a + this.b + c + d } var o = {a: 1, b: 2} Person.call(o, 3, 4) 或者 Person.apoly(o, [3, 4]), o是你想作为Person 阅读全文
posted @ 2018-07-17 09:36 zph前端 阅读(178) 评论(0) 推荐(0) 编辑