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

Function _keys

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

Source from the content-addressed store, hash-verified

550 };
551
552 var _keys = function (obj) {
553 if (Object.keys) {
554 return Object.keys(obj);
555 }
556 var keys = [];
557 for (var k in obj) {
558 if (obj.hasOwnProperty(k)) {
559 keys.push(k);
560 }
561 }
562 return keys;
563 };
564
565 var _indexOf = function (arr, item) {
566 if (arr.indexOf) {

Callers 4

nodeunit.jsFile · 0.70
objEquivFunction · 0.70
_copyFunction · 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…