Home My space log
Language EN (English)

Add up a list

JavaScript Beginner robot ages 11-13

The problem

Write a function sum(numbers). It gives back the total of all the numbers in the list. An empty list gives 0.

You will practice: arrays, loops, variables

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