bind

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

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