This website requires JavaScript.
Explore
Help
Register
Sign In
josecarloslins
/
challenge-algorithms-v2.0-jose-carlos-lins
Watch
1
Star
0
Fork
0
You've already forked challenge-algorithms-v2.0-jose-carlos-lins
forked from
M3-Academy/challenge-algorithms-v2.0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
feature/algoritmos-josecarloslins
challenge-algorithms-v2.0-j...
/
03-maxValue
/
index.js
7 lines
112 B
JavaScript
Raw
Permalink
Normal View
History
Unescape
Escape
refactor(automacao): template desafio 2 automatizado
2022-10-27 15:07:13 +00:00
export
function
maxValue
(
values
)
{
feat: Algoritmo 03-maxValue - finalizado
2022-10-27 23:03:17 +00:00
if
(
values
.
length
===
0
)
{
return
0
;
}
return
Math
.
max
(
...
values
)
;
refactor(automacao): template desafio 2 automatizado
2022-10-27 15:07:13 +00:00
}
Reference in New Issue
Copy Permalink