Pergunta de entrevista da empresa 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'

Resposta da entrevista

Sigiloso

14 de dez. de 2015

use 'arguments' and iterate over it.