mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-17 01:43:08 +09:00
24 lines
384 B
JavaScript
24 lines
384 B
JavaScript
function recurseA(i) {
|
|
if (i == 20) {
|
|
debugger;
|
|
return;
|
|
}
|
|
|
|
// down into the rabbit hole we go
|
|
return (i % 2) ? recurseA(++i) : recurseB(++i);
|
|
}
|
|
|
|
function recurseB(i) {
|
|
if (i == 20) {
|
|
debugger;
|
|
return;
|
|
}
|
|
|
|
// down into the rabbit hole we go
|
|
return (i % 2) ? recurseA(++i) : recurseB(++i);
|
|
}
|
|
|
|
|
|
window.startRecursion = function() {
|
|
return recurseA(0);
|
|
}
|