Reimplementing bind, call and apply

October 14, 2014

Not long ago I wrote a post about Mimicking bind, call and apply. The feedback I got from some of my friends, although overall positive, was that it was just a little too complicated. This was especially evident in the `call` function. I attribute this complexity to the work I had to do to unpack the arguments the `call` and `apply` functions were invoked with. Let's face it, wrapping partial functions with partial functions can twist your understanding of what's happening pretty quickly.

continue

Tags: javascript, interesting but not useful