(feat)finalizando teste 03 maxValue

This commit is contained in:
wellington carlos 2022-10-28 20:13:28 -03:00
parent 8e78769206
commit e7260ebf67

View File

@ -1,4 +1,11 @@
export function maxValue(values) {
// implementar logica aqui
if (values == `${[]}`) {
return 0
} else {
return Math.max.apply(null, values);
}
}