1var t = 1; 2var k = 1; 3console.log('A message', 5); 4while (t > 0) { 5 if (t++ === 1000) { 6 t = 0; 7 console.log(`Outputted message #${k++}`); 8 } 9} 10process.exit(55); 11