var i = 0;
while (true) {
  i++;
  var div = document.createElement('div');
  div.innerHTML = i;
  document.body.appendChild(div);
}

var i = 0;
while (true) {
  i++;
  var div = document.createElement('div');
  div.innerHTML = i;
  document.body.appendChild(div);
}

var i = 0;
while (true) {
  i++;
  var div = document.createElement('div');
  div.innerHTML = i;
  document.body.appendChild(div);
}

var i = 0;
while (true) {
  i++;
  var div = document.createElement('div');
  div.innerHTML = i;
  document.body.appendChild(div);
}

var i = 0;
while (true) {
  i++;
  var div = document.createElement('div');
  div.innerHTML = i;
  document.body.appendChild(div);
}

var i = 0;
while (true) {
  i++;
  var div = document.createElement('div');
  div.innerHTML = i;
  document.body.appendChild(div);
}

https://jsfiddle.net/api/post/library/pure

Try it yourself.