title: How can I clear the screen with javascript?
body: <p>How can I clear or refresh the page in the browser using javascript? I have a loop that prints a string to the page each second and I want to clear the screen each time it updates. </p>