call/apply以及bind实现

149 阅读1分钟

1、call的实现

2、apply的实现

3、bind的实现