Essential JavaScript

Highest Number Kata

Given an array of numbers, return the highest of those numbers.

For example, your code should work this way:

const numbers = [2, 6.33, -61, 19, 42, 1.5];
const highest = findHighestNumber(numbers);
console.log(highest); // 42

Code Editor