0.0.2 • Published 9 years ago

@nathanfaucett/object-reduce_right v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

object-reduce_right

object reduce from the right for the browser and node.js

var objectReduceRight = require("@nathanfaucett/object-reduce_right");


objectReduceRight({
        a: 0,
        b: 1,
        c: 2
    },
    function(currentValue, value) {
        return currentValue + value;
    }
) === 3;