feat(maxValue): algoritmo criado.

This commit is contained in:
Luiz Felipe Silva 2022-10-31 22:17:59 -03:00
parent 78adf6560d
commit df0dc72968

View File

@ -1,4 +1,8 @@
export function maxValue(values) {
// implementar logica aqui
let numMaior = Math.max.apply(null, values);
if(values.length == []) return 0;
return numMaior;
}