An Output Generator

Suppose you wanted to use your own echo or print function in Javascript that appended a new line for each time it was called. I illustrate that below.

Validate: HTML5   CSS3