路漫漫其修远兮
头像

codermjy

A programmer who subconsciously views himself as an artist

will enjoy what he does and will do it better

摘要: 手写call()方法 系统用法: function.call(thisArg, arg1, arg2, ...) 手写实现: function sum(num1, num2) { console.log(num1 + num2, this) return num1 + num2; } Functio 阅读全文
posted @ 2022-05-23 15:57 不愿染是与非 阅读(172) 评论(0) 推荐(0) 编辑