3

Итерация по всем аргументам в функции

function foo(){
  for(var i in arguments)
    console.log(arguments[i])
}
foo('one', 'two', 'three');
one
two
three