feat(maxvalue):aplicando a função do teste 3

This commit is contained in:
Gabriel Bernardini 2022-10-29 12:21:29 -03:00
parent c839733a55
commit 961116c5b2

View File

@ -1,4 +1,8 @@
export function maxValue(values) {
// implementar logica aqui
if (values == 0 ) return 0
else {
return Math.max (...values)
}
}