{"ScriptPreparationCode":"var a = [];\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n a.push(Number(i) / 1000);\r\n}\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 const value = mapping(x);\r\n if (filtering(value)) {\r\n acc.push(value);\r\n }\r\n return acc;\r\n}","TestCases":[{"Name":"Reduce","Code":"a.reduce(reducing, []);","IsDeferred":false},{"Name":"Filter/Map","Code":"a.filter(filtering).map(mapping);","IsDeferred":false},{"Name":"Map/Filter","Code":"a.map(mapping).filter(filtering);","IsDeferred":false}]}