{"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((acc, n) =\u003E {\r\n if (n % 3) return n/100;\r\n return acc;\r\n}, []);","IsDeferred":false},{"Name":"for loop","Code":"const doubled = []\r\nfor (const number of arr) {\r\n if (number % 3) doubled.push(number / 100)\r\n}","IsDeferred":false}]}