blob: 3d2ddd2eb7305e172e79a054db4d73330f4bb440 (
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(`Outputed 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; })
|