{"ScriptPreparationCode":"var arr = [];\r\nvar i = 0;\r\n\r\nwhile (i \u003C= 1E5) arr[i] = i\u002B\u002B;","TestCases":[{"Name":"filter().map()","Code":"arr.filter(x =\u003E x % 3).map(x =\u003E x/100)","IsDeferred":false},{"Name":"flatMap()","Code":"arr.flatMap(x =\u003E x % 3 ? [x/100] : [])","IsDeferred":false},{"Name":"reduce","Code":"arr.reduce((result, x) =\u003E {\r\n if (x % 3) result.push(x / 100);\r\n return result;\r\n}, [])","IsDeferred":false},{"Name":"forEach","Code":"var result = [];\r\narr.forEach(x =\u003E {\r\n if (x % 3) result.push(x / 100);\r\n});","IsDeferred":false}]}