JSFiddle - React, Tailwind, and code Playground
JavaScript
console.log(
_.object(_.map({ one: 1, two: 2, three: 3 }, function (num, key) { return [key, num * 3]; }))
);
console.log(
_.object(_.map({ one: 1, two: 2, three: 3 }, function (num, key) { return [key, num * 3]; }))
);