11cb0ef41Sopenharmony_ciimport { message } from './message.mjs'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_civar t = 1; 41cb0ef41Sopenharmony_civar k = 1; 51cb0ef41Sopenharmony_ciconsole.log(message, 5); 61cb0ef41Sopenharmony_ciwhile (t > 0) { 71cb0ef41Sopenharmony_ci if (t++ === 1000) { 81cb0ef41Sopenharmony_ci t = 0; 91cb0ef41Sopenharmony_ci console.log(`Outputted message #${k++}`); 101cb0ef41Sopenharmony_ci } 111cb0ef41Sopenharmony_ci} 121cb0ef41Sopenharmony_ciprocess.exit(55); 131cb0ef41Sopenharmony_ci 141cb0ef41Sopenharmony_ci// test/parallel/test-inspector-esm.js expects t and k to be context-allocated. 151cb0ef41Sopenharmony_ci(function force_context_allocation() { return t + k; }) 16