摘要:
https://juejin.cn/post/6844903887464300552 阅读全文
posted @ 2022-03-11 22:45
我是前端QQ942031558
阅读(15)
评论(0)
推荐(0)
摘要:
1. 实现一个call函数 // 思路:将要改变this指向的方法挂到目标this上执行并返回 Function.prototype.mycall = function (context) { if (typeof this !== 'function') { throw new TypeError 阅读全文
posted @ 2022-03-11 10:52
我是前端QQ942031558
阅读(42)
评论(0)
推荐(0)

浙公网安备 33010602011771号