Welcome to mirror list, hosted at ThFree Co, Russian Federation.

loop.js « fixtures « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1f093bdf574660f578a34289ac5dc42bb292b903 (plain)
1
2
3
4
5
6
7
8
9
10
var t = 1;
var k = 1;
console.log('A message', 5);
while (t > 0) {
  if (t++ === 1000) {
    t = 0;
    console.log(`Outputted message #${k++}`);
  }
}
process.exit(55);