{"ScriptPreparationCode":"window.obj = Object.create(null);\r\n\r\nfor (var i = 0, len = 10; i \u003C len; i\u002B\u002B) {\r\n var arr = []\r\n obj[\u0027key\u0027 \u002B i] = arr\r\n for (var n = 0, len = 10; n \u003C len; n\u002B\u002B) {\r\n arr.push({ [\u0027key\u0027 \u002B n]: n });\r\n }\r\n}","TestCases":[{"Name":"Lodash reduce","Code":"_.reduce(obj, (acc, val, key) =\u003E {\r\n acc[key] = val.map(d =\u003E ({ label: key, value: val }));\r\n return acc;\r\n}, Object.create(null))","IsDeferred":false},{"Name":"Native","Code":"Object.entries(obj).reduce((acc, [key, val]) =\u003E {\r\n acc[key] = val.map(d =\u003E ({ label: key, value: val }));\r\n return acc;\r\n}, Object.create(null))","IsDeferred":false},{"Name":"Lodash transform","Code":"_.transform(obj, (acc, val, key) =\u003E {\r\n acc[key] = val.map(d =\u003E ({ label: key, value: val }));\r\n}, Object.create(null))","IsDeferred":false}]}