{"ScriptPreparationCode":"var arr = [];\r\n\r\nvar createItem = function(group, value) {\r\n return {\r\n group: group,\r\n value: value\r\n }\r\n}\r\nconst I = 12345\r\nfor (var i = 0; i \u003C I; i\u002B\u002B) {\r\n arr[i] = createItem(i\u003C I/2? \u0027sections\u0027:\u0027nosections\u0027, i);\r\n}\r\n","TestCases":[{"Name":"reduce","Code":"arr.reduce((acc, filter) =\u003E {\r\n if (filter.group === \u0027sections\u0027) acc.push(filter.value);\r\n return acc;\r\n }, []);","IsDeferred":false},{"Name":"filter \u002B map","Code":" arr.filter(_ =\u003E _.group === \u0027sections\u0027)\r\n .map(_ =\u003E _.value);","IsDeferred":false}]}