WHY, JavaScript, WHY?
I'm reading about the writeln function and it's not producing the result I'm expecting.
Then I realize that HTML is fighting me and removing the line feeds.

I finally had to write the proof-of-concept like this:

    <body>
    <pre>
    <script>
    	for (var i=0; i < 5; i++){
    		document.writeln(i);
    	}
    </script>
    </pre>
    </body>


JavaScript: Why do you have to be so hard?

WHY, JavaScript, WHY?
===

I'm reading about the writeln function and it's not producing the result I'm expecting.
Then I realize that HTML is fighting me and removing the line feeds.

I finally had to write the proof-of-concept like this:

    <body>
    <pre>
    <script>
    	for (var i=0; i < 5; i++){
    		document.writeln(i);
    	}
    </script>
    </pre>
    </body>


JavaScript: Why do you have to be so hard?
