MCPcopy Create free account
hub / github.com/curran/screencasts / createBindWrapper

Function createBindWrapper

introToChiasm/examples/code/latest/main-build.js:3701–3709  ·  view source on GitHub ↗

* Creates a function that wraps `func` and invokes it with the `this` * binding of `thisArg`. * * @private * @param {Function} func The function to bind. * @param {*} [thisArg] The `this` binding of `func`. * @returns {Function} Returns the new bound function.

(func, thisArg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createWrapperFunction · 0.70

Calls 1

createCtorWrapperFunction · 0.70

Tested by

no test coverage detected