{"ScriptPreparationCode":"var arr = Array(10_000).map((_, i) =\u003E i)","TestCases":[{"Name":"flatMap","Code":"const out = arr.flatMap(x =\u003E x % 3 === 0 ? [x, x]: []);","IsDeferred":false},{"Name":"forEach with conditional push","Code":"const out = [];\r\narr.forEach(x =\u003E (x % 3 === 0) \u0026\u0026 out.push(x));","IsDeferred":false}]}