v2
- by dimoff66 8/29/202000
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const arr = Array.from({ length: 200000 }, (v, ind) => ind)
let sum = 0
delete caserun single casemove downdrag and drop case


ready



for (let i = 0; i < arr.length; i++) {
  sum += arr[i]
  if (i === 1000) arr.pop()	
}
delete caserun single casemove updrag and drop case


ready



for (let i = 0, l = arr.length; i < l; i++) {
  sum += arr[i]
  if (i === 1000) { arr.pop(), l-- }	
}
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