Merge pull request 'criando o codigo do valor maximo que deve retornar' (#6) from feature/maxValue into develop

Reviewed-on: #6
This commit is contained in:
PATRICK DE SOUZA SILVA 2022-11-02 16:55:09 +00:00
commit 5c3a073480

View File

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