Find the largest number
Write largest(numbers) that returns the biggest number in the array.
Tests
0 of 3 passlargest([3, 9, 2])→9largest([-5, -1, -9])→-1largest([7])→7
Tutor
The tutor guides you toward the answer instead of handing it over. It uses your own Claude usage.
Nothing printed. Use console.log to inspect values.