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:
commit
5c3a073480
@ -1,4 +1,8 @@
|
||||
export function maxValue(values) {
|
||||
// implementar logica aqui
|
||||
|
||||
if (values.length) {
|
||||
return Math.max(...values)
|
||||
}
|
||||
return 0
|
||||
}
|
Loading…
Reference in New Issue
Block a user