{"ScriptPreparationCode":"a=[];\r\nfor(i=0;i\u003C1000;i\u002B\u002B) a.push(Number(i)/1000);\r\nvar filtering=x=\u003E(x % 2) === 0;\r\n","TestCases":[{"Name":"filter","Code":"sumFilter = a.filter(aNumber=\u003E filtering(aNumber)).length","IsDeferred":false},{"Name":"reduce","Code":"var sumReduce = 0;\r\na.reduce((sumReduce, aNumber) =\u003E filtering(aNumber) ? sumReduce \u002B 1 : sumReduce,0)","IsDeferred":false}]}