return keys of an object
Homepage Repository npm Download
npm install @amphibian/object-keys@1.0.2
return keys of an object
npm install @amphibian/object-keys
var objectKeys = require('@amphibian/object-keys');
var object = {
foo: 'bar',
bar: 'foo'
};
console.log(objectKeys(object)); // > ['foo', 'bar']