PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
mout
/
src
/
object
define(['./forOwn', './size'], function(forOwn, size) { /** * Object reduce */ function reduce(obj, callback, memo, thisObj) { var initial = arguments.length > 2; if (!size(obj) && !initial) { throw new Error('reduce of empty object with no initial value'); } forOwn(obj, function(value, key, list) { if (!initial) { memo = value; initial = true; } else { memo = callback.call(thisObj, memo, value, key, list); } }); return memo; } return reduce; });
[-] functions.js
[edit]
[-] forOwn.js
[edit]
[-] find.js
[edit]
[-] equals.js
[edit]
[-] omit.js
[edit]
[-] deepFillIn.js
[edit]
[-] fillIn.js
[edit]
[-] reduce.js
[edit]
[-] max.js
[edit]
[+]
..
[-] contains.js
[edit]
[-] unset.js
[edit]
[-] some.js
[edit]
[-] pluck.js
[edit]
[-] flatten.js
[edit]
[-] has.js
[edit]
[-] merge.js
[edit]
[-] bindAll.js
[edit]
[-] pick.js
[edit]
[-] min.js
[edit]
[-] get.js
[edit]
[-] deepMatches.js
[edit]
[-] mixIn.js
[edit]
[-] values.js
[edit]
[-] size.js
[edit]
[-] reject.js
[edit]
[-] forIn.js
[edit]
[-] hasOwn.js
[edit]
[-] map.js
[edit]
[-] namespace.js
[edit]
[-] filter.js
[edit]
[-] every.js
[edit]
[-] matches.js
[edit]
[-] result.js
[edit]
[-] deepMixIn.js
[edit]
[-] set.js
[edit]
[-] keys.js
[edit]