blob: 1b5cab10edc7bf8dbbb430f168c0f56bfbedce53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { message } from './message';
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; })
|