Debian Codegraph @

packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop/hoist-function-exports/input.mjs

raw
1 import { isEven } from "./evens";
2
3 export function nextOdd(n) {
4 return isEven(n) ? n + 1 : n + 2;
5 }
6
7 export var isOdd = (function (isEven) {
8 return function (n) {
9 return !isEven(n);
10 };
11 })(isEven);