lesson-cover

Go Back

Foundations of JavaScript

Biggest Num Out of 3

Write a function that takes in 3 numbers and return the largest out of them.

Here's how another developer might use your function:

solution(5,9,14) // Should return 14
solution(4,5,1) // Should return 5

Note: Try to implement your solution without the Math.max function