mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
6 lines
285 B
TypeScript
6 lines
285 B
TypeScript
// A module cycle whose members read const-enum members in their top-level
|
|
// initializers: every module still evaluates once, in Node's order, and the
|
|
// folded member values are available before the cycle completes.
|
|
import { total } from "./limits.ts";
|
|
console.log("main", total());
|