Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/caolan/nodeunit
/ _copy
Function
_copy
lib/core.js:39–46 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
37
38
39
var
_copy =
function
(obj) {
40
var
nobj = {};
41
var
keys = _keys(obj);
42
for
(
var
i = 0; i < keys.length; i += 1) {
43
nobj[keys[i]] = obj[keys[i]];
44
}
45
return
nobj;
46
};
47
48
49
/**
Callers
1
core.js
File · 0.70
Calls
1
_keys
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…