{"ScriptPreparationCode":"a = [];\r\nfor (i = 0; i \u003C 1000000; i\u002B\u002B) a.push(Number(i) / 1000000);\r\nvar filtering = x =\u003E (x * 114514) % 1 \u003E 0.5;\r\nvar mapping = x =\u003E x \u002B 0.1919;\r\nvar reducing = (acc, x) =\u003E {\r\n var value = mapping(x);\r\n if (filtering(value)) acc.push(value);\r\n return acc;\r\n}\r\nvar resutForEach = [];\r\nvar forEaching = (value) =\u003E {\r\n if (filtering(value)) resutForEach.push(value);\r\n}","TestCases":[{"Name":"map-filter","Code":"a.filter(filtering).map(mapping);","IsDeferred":false},{"Name":"reduce","Code":"a.reduce(reducing,[]);","IsDeferred":false},{"Name":"ForEach","Code":"a.forEach(forEaching);","IsDeferred":false}]}