Home My space log
Language EN (English)

Find the biggest number

JavaScript Beginner robot ages 11-13

The problem

Write a function findMax(numbers). It gives back the biggest number in the list. If the list is empty, give back null. Do not use Math.max.

You will practice: arrays, loops, if, comparing numbers

Mode

Press Tab to indent. Press Esc and then Tab to move on to the next button.

Your code runs in your browser. We do not receive it or save it.

Test results

      What your code printed