{"ScriptPreparationCode":"var saldos = [1, 0, -2, -1, 3, 0, 1, 8, -10, 3, 0, -1, -3];\r\nvar contadorSaldoNegativo = 0;","TestCases":[{"Name":"for","Code":"for (let i = 0; i \u003C saldos.length; i\u002B\u002B) {\r\n if (saldos[i] \u003E 0) {\r\n contadorSaldoNegativo\u002B\u002B;\r\n }\r\n}","IsDeferred":false},{"Name":"reduce","Code":"let menorQueZero = (acc, cur) =\u003E acc \u002B (cur \u003C 0 ? 1 : 0);\r\n","IsDeferred":false}]}