摘要: 1.call的实现 1 Function.prototype.mycall = function (context) { 2 context.fn = this 3 const args = [...arguments].slice(1) 4 const result = context.fn(.. 阅读全文
posted @ 2021-03-29 16:16 jianghongyun 阅读(72) 评论(0) 推荐(0)