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