File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/bower-config/node_modules/mout/object/map.js
Back
var forOwn = require('./forOwn'); var makeIterator = require('../function/makeIterator_'); /** * Creates a new object where all the values are the result of calling * `callback`. */ function mapValues(obj, callback, thisObj) { callback = makeIterator(callback, thisObj); var output = {}; forOwn(obj, function(val, key, obj) { output[key] = callback(val, key, obj); }); return output; } module.exports = mapValues;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings