原生JS实现call,apply,bind函数
摘要:1. 前言 使用原生 实现 和`apply call apply this call apply`只接受一个参数数组。 2. call函数 2.1 描述 方法使用一个指定的 值和单独给出的一个或多个参数来调用一个函数。 2.2 语法 2.3 参数 thisArg :可选的。在 fun 函数运行时指定
阅读全文
posted @ 2019-07-31 14:04
posted @ 2019-07-31 14:04
posted @ 2019-07-28 21:52
posted @ 2019-07-19 14:15