feat(maxValue): algoritmo criado. #3

Merged
luizfelipe9627 merged 1 commits from feature/algorithm03 into development 2022-11-01 01:18:53 +00:00
Showing only changes of commit df0dc72968 - Show all commits

View File

@ -1,4 +1,8 @@
export function maxValue(values) {
// implementar logica aqui
let numMaior = Math.max.apply(null, values);
if(values.length == []) return 0;
return numMaior;
}