pandaomeng / gitalk-comment

使用gitalk存储博客的评论
0 stars 0 forks source link

前端面试题整理 | 无趣的小帕 #57

Open pandaomeng opened 4 years ago

pandaomeng commented 4 years ago

https://www.pandaomeng.com/2020/frontend-interview-question/

前端面试题整理 call、apply、bind 手动实现 call 12345678910111213Function.prototype.myCall = function (context, ...args) { context = context || window let symbol = Symbol() context[symbol] = this con