lib/util.js
function (obj, mapper, scope) {
        var map = {},
            prop;
        scope = scope || obj;

        for (prop in obj) {
            obj.hasOwnProperty(prop) && (map[prop] = mapper.call(scope, obj[prop], prop, obj));
        }

        return map;
    }
function (obj, mapper, scope) {
        var map = {},
            prop;
        scope = scope || obj;

        for (prop in obj) {
            obj.hasOwnProperty(prop) && (map[prop] = mapper.call(scope, obj[prop], prop, obj));
        }

        return map;
    }
function ( obj , mapper , scope ) { var map = { } , prop ; scope = scope || obj ; for ( prop in obj ) { obj . hasOwnProperty ( prop ) && ( map [ prop ] = mapper . call ( scope , obj [ prop ] , prop , obj ) ) ; } return map ; }
Creates a new object with mapped values from another object

@param  {object} obj
@param  {function} mapper
@param  {*=} [scope]
@returns {object}
Creates a new object with mapped values from another object