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