{"ScriptPreparationCode":"var voters = [\r\n { name: \u0022Bob\u0022, age: 30, voted: true },\r\n { name: \u0022Jake\u0022, age: 32, voted: true },\r\n { name: \u0022Kate\u0022, age: 25, voted: false },\r\n { name: \u0022Sam\u0022, age: 20, voted: false },\r\n { name: \u0022Phil\u0022, age: 21, voted: true },\r\n { name: \u0022Ed\u0022, age: 55, voted: true },\r\n { name: \u0022Tami\u0022, age: 54, voted: true },\r\n { name: \u0022Mary\u0022, age: 31, voted: false },\r\n { name: \u0022Becky\u0022, age: 43, voted: false },\r\n { name: \u0022Joey\u0022, age: 41, voted: true },\r\n { name: \u0022Jeff\u0022, age: 30, voted: true },\r\n { name: \u0022Zack\u0022, age: 19, voted: false }\r\n];","TestCases":[{"Name":"Reduce","Code":"voters.reduce((acc, voter) =\u003E {\r\n return voter.voted ? acc \u002B 1 : acc;\r\n }, 0);","IsDeferred":false},{"Name":"Filter","Code":"voters.filter(item =\u003E item.voted)","IsDeferred":false}]}