The map function in underscore.js, if called with a javascript object, returns an array of values mapped from the object\'s values.
map
_.map({one:
I think you want a mapValues function (to map a function over the values of an object), which is easy enough to implement yourself:
mapValues = function(obj, f) { var k, result, v; result = {}; for (k in obj) { v = obj[k]; result[k] = f(v); } return result; };