MCPcopy Index your code
hub / github.com/prototypejs/prototype / getObjectKeys

Function getObjectKeys

test/unit/static/js/proclaim.js:386–394  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

384
385 // Utility for getting object keys
386 function getObjectKeys (obj) {
387 var key, keys = [];
388 for (key in obj) {
389 if (obj.hasOwnProperty(key)) {
390 keys.push(key);
391 }
392 }
393 return keys;
394 }
395
396 // Utility for deep equality testing of objects
397 function objectsEqual (obj1, obj2) {

Callers 2

objectsEqualFunction · 0.85
objectsEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected