map.js 159 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 var Hash = require('hashish'); var obj = { a : 1, b : 2, c : 3, d : 4 }; var mapped = Hash.map(obj, function (x) { return x * 10 }); console.dir(mapped);