Merge branch 'feature/03-maxValue' into development

This commit is contained in:
Andrea Matsunaga 2022-10-30 13:55:45 -03:00
commit adfcec5277

View File

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