{"ScriptPreparationCode":"var data = [\r\n { name: \u0027pi\u0027, value: 3.14 },\r\n { name: \u0027hundred\u0027, value: 100 },\r\n { name: \u0027truthy\u0027, value: true },\r\n { name: \u0027falsy\u0027, value: false },\r\n { name: \u0027estring\u0027, value: \u00272.71828\u0027 },\r\n];\r\n\r\n\r\nvar mapkey = (array, fn) =\u003E {\r\n return new Map(array.map(i =\u003E [fn(i), i]));\r\n}","TestCases":[{"Name":"lodash/keyBy","Code":"_.keyBy(data, (v) =\u003E v.name);","IsDeferred":false},{"Name":"map","Code":"mapkey(data, (v) =\u003E v.name);","IsDeferred":false}]}