I think when we make reduce work with objects, we'll either keep the same function and make it polymorphic, or we'll have namespaces/modules and use Array.reduce and Object.reduce. Either way this name can be changed.
I think when we make reduce work with objects, we'll either keep the same function and make it polymorphic, or we'll have namespaces/modules and use Array.reduce and Object.reduce. Either way this name can be changed.