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

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