MCPcopy Index your code
hub / github.com/Raynos/function-bind / thunkify

Function thunkify

test/index.js:82–84  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

80
81 t.test('called as a constructor', function (st) {
82 var thunkify = function (value) {
83 return function () { return value; };
84 };
85 st.test('returns object value', function (sst) {
86 var expectedReturnValue = [1, 2, 3];
87 var Constructor = functionBind.call(thunkify(expectedReturnValue), null);

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…