heading normal text? Yes.
script is executed at lexical parsing level.

Paragraph 0

Paragraph 1

Paragraph 2

Paragraph 3

The DOM grows even as JavaScript is executed.

Both html sources, html file content and arguments of document.write, are seemingly on equal footing.