Files
scriptc/tests/corpus/1623-cjs-require-diamond/right.js
T
2026-07-22 18:08:04 -05:00

13 lines
299 B
JavaScript

// Requires shared BELOW its own print: by the time this runs, shared is
// already cached (left loaded it) — no second init.
'use strict';
console.log('right: init');
const { next } = require('./shared.js');
function rightTick() {
return `right ${next()}`;
}
module.exports = { rightTick };