摘要: apply方法:在传入的this对象中创建函数,以实现在this环境中执行函数的功能。 let func1 = { name: 'test' } let func2 = function (a, b, c) { return a + b + c + this.name; } Function.pro 阅读全文
posted @ 2020-11-26 23:09 true! 阅读(74) 评论(0) 推荐(0) 编辑