v1
7/18/2019 by mozstas -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let numbers = new Array(1000).fill(1);

function test(i) {
  if (i === 0) {
    throw new Error("It's a zero!");
  }
  return i;
}
delete caserun single casemove downdrag and drop case


ready



for (let num of numbers) {
  let result = test(num);
  if (result === 0) {
    console.error("It's a zero!");
    return;
  }
}
delete caserun single casemove updrag and drop case


ready



for (let num of numbers) {
  try {
    test(num);
  } catch (e) {
    console.error(e)
  }
}
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