chuwanghui 6d115466a5 electron库 6 anni fa
..
test 6d115466a5 electron库 6 anni fa
.npmignore 6d115466a5 electron库 6 anni fa
.travis.yml 6d115466a5 electron库 6 anni fa
README.md 6d115466a5 electron库 6 anni fa
foreach.js 6d115466a5 electron库 6 anni fa
index.js 6d115466a5 electron库 6 anni fa
isArguments.js 6d115466a5 electron库 6 anni fa
package.json 6d115466a5 electron库 6 anni fa
shim.js 6d115466a5 electron库 6 anni fa

README.md

#object-keys Version Badge

Build Status dependency status

browser support

An Object.keys shim. Uses Object.keys if available.

Example

var keys = require('object-keys');
var assert = require('assert');
var obj = {
	a: true,
	b: true,
	c: true
};

assert.equal(keys(obj), ['a', 'b', 'c']);

Source

Implementation taken directly from es5-shim, with modifications, including from lodash.

Tests

Simply clone the repo, npm install, and run npm test