MCPcopy Index your code
hub / github.com/caolan/nodeunit / _copy

Function _copy

examples/browser/nodeunit.js:1672–1679  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1670
1671
1672var _copy = function (obj) {
1673 var nobj = {};
1674 var keys = _keys(obj);
1675 for (var i = 0; i < keys.length; i += 1) {
1676 nobj[keys[i]] = obj[keys[i]];
1677 }
1678 return nobj;
1679};
1680
1681
1682/**

Callers 1

nodeunit.jsFile · 0.70

Calls 1

_keysFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…