v1
- by zorqie 11/25/202400
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let n = 0;
function complex(i,j) { 
	n += (i * i + j) % 255
};
const inner = Array(10000).fill({}).map(() => ({key: Math.floor(Math.random()*100)}));
const outer = Array(10000).fill({}).map(() => ({key: Math.floor(Math.random()*100)})); 
delete caserun single casemove downdrag and drop case


ready



n = 0;
for(let i=0; i<outer.length; i++) {
	for(let j=0; j < inner.length; j++) {
		if(inner[j].key === outer[i].key) {
			complex(i,j);
		}
	} 
}
delete caserun single casemove updrag and drop case


ready



n=0;
outer.forEach(o => {
	inner.forEach(i => {
		if(i.key === o.key) {
			complex(i.key, o.key)
		}
	})
})
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