{"ScriptPreparationCode":"a = new Array(1000).fill(0).map(() =\u003E ({\r\n value: Math.random(),\r\n keep: Math.random() \u003E 0.5\r\n}));","TestCases":[{"Name":"Reduce \u002B concat","Code":"a.reduce((acc, { value, keep }) =\u003E {\r\n if (keep) {\r\n acc.push(value);\r\n }\r\n return acc;\r\n}, []);","IsDeferred":false},{"Name":"Reduce \u002B push","Code":"a.reduce((acc, { value, keep }) =\u003E (keep ? acc.concat([value]) : acc), []);","IsDeferred":false}]}