{"ScriptPreparationCode":"var data = Array.from(Array(10000).keys());","TestCases":[{"Name":"Object.fromEntries (with transform data)","Code":"const createObject = (value) =\u003E ({ arbitraryKey: value });\r\nObject.fromEntries(data.map((key, value) =\u003E {\r\n const newValue = createObject(value);\r\n return [key, newValue];\r\n}));","IsDeferred":false},{"Name":"Reduce (reuse object)","Code":"Object.entries(data).reduce((acc, [k, v]) =\u003E {\r\n acc[k] = v.toString();\r\n return acc;\r\n}, {});","IsDeferred":false},{"Name":"Reduce (creating temporary objects)","Code":"Object.entries(data).reduce((acc, [k, v]) =\u003E ({\r\n ...acc,\r\n [k]: v.toString()\r\n}), {});","IsDeferred":false}]}