Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cujojs/poly
/ beget
Function
beget
test/curl.js:114–119 ·
view source on GitHub ↗
(parent)
Source
from the content-addressed store, hash-verified
112
function
Begetter () {}
113
114
function
beget (parent) {
115
Begetter.prototype = parent;
116
var
child =
new
Begetter();
117
Begetter.prototype = cleanPrototype;
118
return
child;
119
}
120
121
function
Promise () {
122
Callers
1
fixAndPushPaths
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected