Feat(Desafio_2.3): Cria resposta desafio 2.3 #3

Merged
Rhayllon_Daudt merged 1 commits from Feature/Desafio_2.3 into develop 2022-10-29 06:36:19 +00:00

View File

@ -1,4 +1,9 @@
export function maxValue(values) { export function maxValue(values) {
// implementar logica aqui // implementar logica aqui
if(values.length > 0){
return Math.max.apply(null, values);
}
else{
return 0;
}
} }