Essential JavaScript

Going Further

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

Click "Run Tests" to execute your function and see the test results below.

Test Results

Run your code to see test results

Console Output

// Console output will appear here...

0 output lines