{"ScriptPreparationCode":"var arr = Array.from({length:10000}, (v, i) =\u003E ({name: i, assigned: Math.random() \u003C 0.5}));","TestCases":[{"Name":"flatMap","Code":"arr.flatMap((o) =\u003E (o.assigned ? [o.name] : []));","IsDeferred":false},{"Name":"reduce with push","Code":"arr.reduce((a, o) =\u003E (o.assigned \u0026\u0026 a.push(o.name), a), [])","IsDeferred":false}]}