Feat(Desafio_2.3): Cria resposta desafio 2.3

This commit is contained in:
Rhayllon Daudt 2022-10-29 03:34:48 -03:00
parent 012ea8f688
commit b27cae8795

View File

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