{"ScriptPreparationCode":"var data = { ...Array.from(Array(10000).keys()) };","TestCases":[{"Name":"Object.fromEntries","Code":"Object.fromEntries(Object.entries(data).map((key, value) =\u003E [key, value.toString()]));","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},{"Name":"for of","Code":"const acc = {};\r\n\r\nfor(const [k, v] of Object.entries(data)) {\r\n acc[k] = v.toString();\r\n}","IsDeferred":false}]}