feature/challenge-algorithms #1

Merged
EleonoraOtz merged 11 commits from feature/challenge-algorithms into master 2022-11-01 20:41:51 +00:00
Showing only changes of commit 9ecafd2785 - Show all commits

View File

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