lzjnpm-publish-test
v1.0.0
Published
test
Downloads
1
Readme
Install
Install with npm:
$ npm install --save npm-publish-test
Usage
var forIn = require('lzjnpm-publish-test');
var obj = {a: 'foo', b: 'bar', c: 'baz'};
var values = [];
var keys = [];
forIn(obj, function (value, key, o) {
keys.push(key);
values.push(value);
});
console.log(keys);
//=> ['a', 'b', 'c'];
console.log(values);
//=> ['foo', 'bar', 'baz'];