/echo

echo() exercise

Primary LanguageJavaScript

Echo() exercise

Modify echo.js to print out each argument to the echo() function on a new line. It should work for an arbitrary number of arguments.

echo();
// should print nothing

echo('bla');
// should print
//
// 'bla'

echo('foo', 'bar', 'baz');
// should print
//
// 'foo'
// 'bar'
// 'baz'