import { bind } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";
Creates a function that invokes fn
with a given context, optionally adding any additional supplied parameters to the beginning of the arguments.
Return a function
that uses Function.prototype.apply()
to apply the given context
to fn
.
Use Array.prototype.concat()
to prepend any additional supplied parameters to the arguments.