0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00
nodejs/test/es-module/test-require-module-detect-entry-point.js

8 lines
151 B
JavaScript
Raw Normal View History

// Flags: --experimental-require-module
import { mustCall } from '../common/index.mjs';
const fn = mustCall(() => {
console.log('hello');
});
fn();