{"ScriptPreparationCode":"var arr = (() =\u003E {\r\n const res = new Array(10000).fill({id: 0});\r\n res[9000] = {id: 1};\r\n return res;\r\n})();","TestCases":[{"Name":"reduce","Code":"arr.reduce((acc,x) =\u003E {\r\n\tif (x.id \u003E 0) {\r\n \tacc.push(x.id)\r\n }\r\n return acc;\r\n},[])","IsDeferred":false},{"Name":"map \u002B filter","Code":"arr.map(x =\u003E x.id).filter(x =\u003E x \u003E 0)","IsDeferred":false}]}