bind

fun bind(thisArg: Any?, vararg args: Any?): JsFunction

A new function with this and the leading arguments fixed, as Function.prototype.bind does.