aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es5-ext/object/map-keys.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es5-ext/object/map-keys.js')
-rw-r--r--node_modules/es5-ext/object/map-keys.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/node_modules/es5-ext/object/map-keys.js b/node_modules/es5-ext/object/map-keys.js
deleted file mode 100644
index 72dada070..000000000
--- a/node_modules/es5-ext/object/map-keys.js
+++ /dev/null
@@ -1,18 +0,0 @@
-"use strict";
-
-var callable = require("./valid-callable")
- , forEach = require("./for-each")
- , call = Function.prototype.call;
-
-module.exports = function (obj, cb /*, thisArg*/) {
- var result = {}, thisArg = arguments[2];
- callable(cb);
- forEach(
- obj,
- function (value, key, targetObj, index) {
- result[call.call(cb, thisArg, key, value, this, index)] = value;
- },
- obj
- );
- return result;
-};