v1
8/11/2021 by hkotsubo -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
function iterativo(a, b) {
    while (b != 0) {
        var r = a % b;
        a = b;
        b = r;
    }
    return a;
}
function recursivo(a, b) {
  if (!b) {
    return a;
  }
  return recursivo(b, a % b);
}
var a = 120430, b = 892894;
delete caserun single casemove downdrag and drop case


ready



iterativo(a, b)
delete caserun single casemove updrag and drop case


ready



recursivo(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