v1
4/7/2020 by pongo 4/8/202000
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const max = 250;

function noparams(i) {
  const y = i % 2;
  return text();
  function text() {
    return y === 0 ? i : 0;
  }
}

function params(i) {
  const y = i % 2;
  return text(y);
  function text(y_) {
    return y_ === 0 ? i : 0;
  }
}

function params2(i) {
  const y = i % 2;
  return text(y, i);
  function text(y_, i_) {
    return y_ === 0 ? i_ : 0;
  }
}

function params3(i) {
  const y = i % 2;
  return text(i);
  function text(i_) {
    return y === 0 ? i_ : 0;
  }
}

function _text(y, i) {
  return y === 0 ? i : 0;
}

function params4(i) {
  const y = i % 2;
  return _text(y, i);
}

function params5(i) {
  const y = i % 2;
  return text(y, i);
  function text(y, i) {
    return y === 0 ? i : 0;
  }
}

function noparamsvar(i) {
  var y = i % 2;
  return text();
  function text() {
    return y === 0 ? i : 0;
  }
}

function params3var(i) {
  var y = i % 2;
  return text(i);
  function text(i_) {
    return y === 0 ? i_ : 0;
  }
}
delete caserun single casemove downdrag and drop case


ready



const result = [];
for (let i = 0; i < max; i++) {
  result.push(noparams(i));
}
delete caserun single casemove upmove downdrag and drop case


ready



const result = [];
for (let i = 0; i < max; i++) {
  result.push(params2(i));
}
delete caserun single casemove upmove downdrag and drop case


ready



const result = [];
for (let i = 0; i < max; i++) {
  result.push(params3(i));
}
delete caserun single casemove upmove downdrag and drop case


ready



const result = [];
for (let i = 0; i < max; i++) {
  result.push(params3var(i));
}
delete caserun single casemove updrag and drop case


ready



const result = [];
for (let i = 0; i < max; i++) {
  result.push(noparamsvar(i));
}
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