summaryrefslogtreecommitdiffstats
path: root/dom/base/test/jsmodules/module_cyclic2.mjs
blob: 7ecec80c6509d9c13add6ea603aa541b3413b80a (plain)
1
2
3
4
5
6
7
8
import { func3 } from "./module_cyclic3.mjs";

export function func2(x, y) {
  if (x <= 0) {
    return y;
  }
  return func3(x - 1, y + "2");
}