{"ScriptPreparationCode":"var data = { ...Array.from(Array(10000).keys()) };","TestCases":[{"Name":"Object.fromEntries","Code":"Object.fromEntries(Object.entries(data).map((key, value) =\u003E [!value ? \u0060invalid-${key}\u0060 : key, value]));","IsDeferred":false},{"Name":"Reduce (reuse object)","Code":"Object.entries(data).reduce((acc, [k, v]) =\u003E {\r\n acc[!v ? \u0060invalid-${k}\u0060 : k] = v;\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 [!v ? \u0060invalid-${k}\u0060 : k]: v\r\n}), {});","IsDeferred":false}]}