finding the largest number in an array
DamienVapes

I have some code im having trouble with if someone could give me an idea or an answer id be greatly in your debt.

function getLargestNumber(numbers) {

}

/ Do not modify code below this line /

const largestNumber = getLargestNumber([1, 9, 5]);
console.log(largestNumber, '<-- should be 9');

You are viewing a single comment. View All
Answered by LeonDoesCode [earned 5 cycles]
View Answer
DamienVapes

@LeonDoesCode how did you post the code the way you did on your earlier comment.id like to show my repl completed here