This website requires JavaScript.
Explore
Help
Register
Sign In
andreamatsunaga
/
challenge-algorithms-v2.0-andrea-matsunaga
Watch
1
Star
0
Fork
0
You've already forked challenge-algorithms-v2.0-andrea-matsunaga
forked from
M3-Academy/challenge-algorithms-v2.0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4326db7b99
challenge-algorithms-v2.0-a...
/
03-maxValue
/
index.js
4 lines
100 B
JavaScript
Raw
Normal View
History
Unescape
Escape
refactor(automacao): template desafio 2 automatizado
2022-10-27 15:07:13 +00:00
export
function
maxValue
(
values
)
{
feature: resolve exercício 03-maxValue
2022-10-30 16:55:23 +00:00
if
(
values
.
length
<
1
)
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