{"ScriptPreparationCode":"a = [];\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n a.push(Number(i) / 1000 * 1000);\r\n}\r\nvar mapping = x =\u003E x % 5 !== 0 ? x : undefined;\r\nvar filtering = x =\u003E x;\r\nvar reducing = (acc, x) =\u003E {\r\n const value = mapping(x);\r\n if (filtering(value)) acc.push(value);\r\n return acc;\r\n}","TestCases":[{"Name":"map-filter","Code":"a.map(mapping).filter(filtering);","IsDeferred":false},{"Name":"reduce","Code":"a.reduce(reducing,[]);","IsDeferred":false}]}