摘要: /* call: 1:调用函数 2:改变函数的this指向为call的第一个参数 3:返回函数的返回值 */ Function.prototype.myCall = function (context, ...argv) { /* context有3种形态 - null undefined > wi 阅读全文
posted @ 2022-05-06 09:09 听风小弟 阅读(275) 评论(0) 推荐(0)