merge all challenges #1

Merged
Gabriel_Lehmann merged 19 commits from development into master 2022-10-30 04:26:03 +00:00
Showing only changes of commit f249a7ee11 - Show all commits

View File

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