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

Function _keys

deps/async.js:54–65  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

52 };
53
54 var _keys = function (obj) {
55 if (Object.keys) {
56 return Object.keys(obj);
57 }
58 var keys = [];
59 for (var k in obj) {
60 if (obj.hasOwnProperty(k)) {
61 keys.push(k);
62 }
63 }
64 return keys;
65 };
66
67 var _indexOf = function (arr, item) {
68 if (arr.indexOf) {

Callers 1

async.jsFile · 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…