JSFiddle - React, Tailwind, and code Playground

JavaScript

var n = 0;
var N = 75000;
var digits = "";
mO = new MutationObserver(
	function(mutations)
	{
		console.log("Mutations observed.");
	}
);
mO.observe(document.body, { childList: true });

while (n < N)
{
	span = document.createElement("span");
	digit = parseInt(Math.random() * 10);
	span.innerHTML = digit;
	if (digits.length < 3)
	{
		digits += digit;
	}
	document.body.appendChild(span);
	n++;
}

console.log("Finished with digits " + digits);