Skip to content

advanced-js/echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'