Sollicitatievraag bij Walmart

During phone interview basic JavaScript questions were asked and asked to write a function that sums up an array of numbers, the length of the array is not fixed. I believe the whole intention was to find if one know the concept of 'arguments'

Antwoord op sollicitatievraag

Anoniem

14 dec 2015

use 'arguments' and iterate over it.