Yes, when you do:
document.body.innerHTML += '<br>';
You're really doing:
document.body.innerHTML = (document.body.innerHTML + '<br>');
So you're completely destroying and recreating all the content.
1.4m articles
1.4m replys
5 comments
57.0k users