{"ScriptPreparationCode":"var items = { ...Array.from(Array(10000).keys()) };\r\nvar itemsToFilter = Array.from(Array(10000).keys()).filter(v =\u003E v % 2 === 0);","TestCases":[{"Name":"Object.fromEntries","Code":"var filteredObject = Object.entries(items).filter(([key]) =\u003E itemsToFilter.includes(key));\r\nObject.fromEntries(filteredObject);","IsDeferred":false},{"Name":"Reduce","Code":"Object.entries(items).reduce((acc, [key, entry]) =\u003E {\r\n \tif (itemsToFilter.includes(key)) {\r\n acc[key] = entry;\r\n\t}\r\n \r\n \treturn acc;\r\n}, {});","IsDeferred":false}]}