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

Function _keys

lib/core.js:25–36  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

23 */
24
25var _keys = function (obj) {
26 if (Object.keys) {
27 return Object.keys(obj);
28 }
29 var keys = [];
30 for (var k in obj) {
31 if (obj.hasOwnProperty(k)) {
32 keys.push(k);
33 }
34 }
35 return keys;
36};
37
38
39var _copy = function (obj) {

Callers 3

_copyFunction · 0.70
core.jsFile · 0.70
wrapGroupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…