mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
82b0783519
PR-URL: https://github.com/nodejs/node/pull/18151 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
11 lines
170 B
JavaScript
11 lines
170 B
JavaScript
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);
|