{"ScriptPreparationCode":"var arr = Array.from({ length: 1000 }).map((_, i) =\u003E i)","TestCases":[{"Name":"flatMap","Code":"const res = arr.flatMap((n) =\u003E {\r\n if (n % 2 === 0) return []\r\n return [n * 3]\r\n})","IsDeferred":false},{"Name":".map.filter","Code":"const res = arr\r\n .filter((n) =\u003E n % 2 !== 0)\r\n .map((n) =\u003E n * 3)","IsDeferred":false}]}