feat(maxValue): implementa funcao maxValue

This commit is contained in:
DaviHKlein 2022-10-28 18:42:53 -03:00
parent 8a5f3aac34
commit f69a2ad837

View File

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