v1
- by lamik 11/13/202200
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let b= Array(100000).fill().map((_, i) => "Hello"+i);
let r=null;
delete caserun single casemove downdrag and drop case


ready



let a = [...b];
while(a.length) r+= a.shift().length;
delete caserun single casemove upmove downdrag and drop case


ready



let a = [...b];
for(i in a) r+= a[i].length;
delete caserun single casemove upmove downdrag and drop case


ready



let a = [...b];
for(x of a) r+= x.length;
delete caserun single casemove upmove downdrag and drop case


ready



let a = [...b];
for (i=0; i<a.length; ++i) r+= a[i].length;
delete caserun single casemove updrag and drop case


ready



let a = [...b];
a.forEach(x=> r+= x.length);
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