blob: 560d9c6efc04cd9a9b652f1d6b0a9731c307194c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { message } from './message.mjs';
var t = 1;
var k = 1;
console.log(message, 5);
while (t > 0) {
if (t++ === 1000) {
t = 0;
console.log(`Outputted message #${k++}`);
}
}
process.exit(55);
// test/parallel/test-inspector-esm.js expects t and k to be context-allocated.
(function force_context_allocation() { return t + k; })
|