v1
2/1/2025 by lydell -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const ts = [];

for (let i = 0; i < 10000; i++) {
	const t = document.createTextNode("Some text goes here.");
	ts.push(t);
	document.body.append(t);
} 
delete caserun single casemove downdrag and drop case


ready



for (const t of ts) {
	t.replaceData(0, t.length, "Some new text.");
}
delete caserun single casemove upmove downdrag and drop case


ready



for (const t of ts) {
	t.data = "Some new text.";
}
delete caserun single casemove upmove downdrag and drop case


ready



for (const t of ts) {
	t.replaceWith(document.createTextNode("Some new text."));
}
delete caserun single casemove updrag and drop case


ready



for (const t of ts) {
	t.parentNode.replaceChild(document.createTextNode("Some new text."), t);
}
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN