{"ScriptPreparationCode":"var test = [\r\n {\r\n id: 1,\r\n name: 1,\r\n },\r\n {\r\n id: 2,\r\n name: 12,\r\n },\r\n {\r\n id: 3,\r\n name: 13,\r\n },\r\n {\r\n id: 4,\r\n name: 14,\r\n },\r\n {\r\n id: 5,\r\n name: 15,\r\n },\r\n {\r\n id: 6,\r\n name: 16,\r\n }\r\n]","TestCases":[{"Name":"flatmap","Code":"new Map(test.flatMap(c =\u003E {\r\n if (c.id \u003C 3) {\r\n return []\r\n }\r\n return [[c.id, c]]\r\n}))","IsDeferred":false},{"Name":"filter.map","Code":"new Map(test.filter(c =\u003E {\r\n return c.id \u003E= 3\r\n}).map(el =\u003E [el.id, el]))","IsDeferred":false}]}