Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CleverProgrammers/JavaScript-Course-by-Clever-Programmer-
/ findMax
Function
findMax
exercises/findMax.js:6–8 ·
view source on GitHub ↗
(array)
Source
from the content-addressed store, hash-verified
4
// Write a function that takes in an array of numbers and returns the largest number
5
6
function
findMax (array) {
7
8
}
9
10
//Topics: loops, arrays, conditions,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected