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