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

Function A

test/index.js:101–103  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

99
100 st.test('object from bound constructor is instance of original and bound constructor', function (sst) {
101 var A = function (x) {
102 this.name = x || 'A';
103 };
104 var B = functionBind.call(A, null, 'B');
105
106 var result = new B();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected