{"ScriptPreparationCode":"\r\nvar arr = [];\r\nfor(i=0; i\u003C100; i\u002B\u002B){\r\n Math.random() \u003E .5 ? arr.push({is_group: true}) : arr.push({is_group: false})\r\n}","TestCases":[{"Name":"filter","Code":"const a = arr.filter(i =\u003E i.is_group)\r\nconst b = arr.filter(i =\u003E !i.is_group)","IsDeferred":false},{"Name":"forEach","Code":"const a = [];\r\nconst b = [];\r\narr.forEach(i =\u003E {\r\n if (i.is_group) {\r\n a.push(i)\r\n } else {\r\n b.push(i)\r\n }\r\n})","IsDeferred":false}]}