GitHub - advanced-js/echo: echo() exercise

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Mar 16, 2025. It is now read-only.

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'