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

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