mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-25 06:24:27 +08:00
9 lines
311 B
JavaScript
9 lines
311 B
JavaScript
// require() of an ES module (Node's require(esm)): the module graph under
|
|
// it — base.mjs via mid's hoisted import — evaluates at the require
|
|
// statement, below the requirer's earlier output.
|
|
'use strict';
|
|
|
|
console.log('main: start');
|
|
const { four } = require('./mid.mjs');
|
|
console.log('main:', four());
|