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

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