{"ScriptPreparationCode":"window.array = [1, 4, 3, 4, 2, 2, 1, 5, 3, 5, 1, 4, 3, 4, 2, 2, 1, 5, 3, 5, 1, 4, 3, 4, 2, 2, 1, 5, 3, 5, 1, 4, 3, 4, 2, 2, 1, 5, 3, 5, 1, 4, 3, 4, 2, 2, 1, 5, 3, 5];","TestCases":[{"Name":"Filter length","Code":"const x = _.filter(window.array, i =\u003E i === 3).length;\r\nreturn x;","IsDeferred":false},{"Name":"Sum","Code":"const x = _.sumBy(window.array, i =\u003E i === 3 ? 1 : 0);\r\nreturn x;","IsDeferred":false},{"Name":"Manual","Code":"let x = 0;\r\nfor (let i = 0; i \u003C window.array.length; i = i \u002B 1) {\r\n if (window.array[i] === 3) {\r\n x = x \u002B 1;\r\n }\r\n}\r\nreturn x;","IsDeferred":false}]}