feat(maxValue): algoritmo criado. #3

Merged
luizfelipe9627 merged 1 commits from feature/algorithm03 into development 2022-11-01 01:18:53 +00:00

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;
}