Hacker News new | ask | show | jobs
by hasenj 4209 days ago
It's also worth noting that `bind` is not all that special; it simply returns a function that calls `apply` and passes the `this` object you specified.

I generally think of `this` as an invisible (sneaky) function parameter. It can be made more visible by using `call`:

    fn.call(object, param1, param2, ...);