mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
8ee604ca71
PR-URL: https://github.com/nodejs/node/pull/21150 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
7 lines
181 B
JavaScript
7 lines
181 B
JavaScript
// Flags: --experimental-modules
|
|
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
exports.asdf = 'asdf';
|
|
assert.strictEqual(require.main.exports.asdf, 'asdf');
|