v1
11/29/2023 by hkotsubo -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
var array = [];
for (var i = 0; i < 1000000; i++) {
    array[i] = Math.floor(Math.random() * 1000);
}
delete caserun single casemove downdrag and drop case


ready



let soma = 0;
for (var i = 0; i < array.length; i++) {
    soma += array[i];
}
delete caserun single casemove upmove downdrag and drop case


ready



let soma = 0;
for (var n of array) {
    soma += n;
}
delete caserun single casemove updrag and drop case


ready



let soma = array.reduce((a, b) => a + b);
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