{"ScriptPreparationCode":"var arr = [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027, \u0027a\u0027];","TestCases":[{"Name":"Array.filter","Code":"var count = arr.filter(item =\u003E item === \u0027a\u0027).length;","IsDeferred":false},{"Name":"Array.reduce","Code":"var count = arr.reduce((acc, item) =\u003E {\r\n if (item === \u0027a\u0027) {\r\n acc\u002B\u002B;\r\n }\r\n return acc;\r\n }, 0);","IsDeferred":false}]}