mediumJS ES5#54

Call and apply

Prompt

Write a function sumAll that accepts any number of arguments and returns their sum. Use a loop over the arguments object (not rest params). Zero arguments must return 0.

Hints

Solution

Your Code

5 min

Tests

Click Run to test your code