- 博客(1)
- 收藏
- 关注
原创 手写call
Function.prototype.myCall = function(context,…arr){ context = context || window context.Fn = this; let result = context.Fn(…arr) delete context.Fn return result }
2020-08-03 23:26:05
128
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人