// package
call-bind
type: "module"
// preferences
// replacements (1)
snippet::call-bind
Simple or drop-in replacementThis package is no longer necessary. Every modern runtime provides a way to bind to the `call` method of a function.
// example
const fnBound = Function.call.bind(fn);