会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zph
不忘初心
博客园
首页
新随笔
管理
2018年7月17日
js apply与call的用法与区别
摘要: 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)
编辑
公告