| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
An Object.keys shim. Uses Object.keys if available.
var keys = require('object-keys');
var assert = require('assert');
var obj = {
a: true,
b: true,
c: true
};
assert.equal(keys(obj), ['a', 'b', 'c']);Implementation taken directly from es5-shim, with modifications, including from lodash.
Simply clone the repo, npm install, and run npm test
| Back | FazBrowse Home | New Git URL |