Sign in
apache
/
incubator-marvin
/
refs/heads/poc
/
.
/
PoCs
/
nodejs_poc
/
node_modules
/
deep-equal
/
lib
/
keys.js
blob: 13af263f9c4c7fe9479da67b599f005b34f0db2d [
file
] [
log
] [
blame
]
exports
=
module
.
exports
=
typeof
Object
.
keys
===
'function'
?
Object
.
keys
:
shim
;
exports
.
shim
=
shim
;
function
shim
(
obj
)
{
var
keys
=
[];
for
(
var
key in obj
)
keys
.
push
(
key
);
return
keys
;
}