MCPcopy Index your code
hub / github.com/codecombat/codecombat / fBound

Function fBound

app/assets/javascripts/workers/worker_world.js:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 fToBind = this,
17 fNOP = function () {},
18 fBound = function () {
19 return fToBind.apply(this instanceof fNOP && oThis
20 ? this
21 : oThis,
22 aArgs.concat(Array.prototype.slice.call(arguments)));
23 };
24
25 fNOP.prototype = this.prototype;
26 fBound.prototype = new fNOP();

Callers

nothing calls this directly

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected