process.stdin.resume(); process.stdin.setEncoding('utf8'); // your code goes here for (let i = 0, n = 0; n = parseInt(Math.random() * 1000), i < 100; setTimeout(x => console.log(x), n, n), ++i);
Standard input is empty
4 5 15 22 22 39 43 45 52 60 65 67 73 77 83 100 109 110 114 116 124 142 181 183 191 206 209 209 210 222 226 253 268 279 289 294 295 297 302 323 336 344 353 369 373 382 386 393 415 421 433 448 462 481 495 497 528 532 547 560 569 581 584 585 585 588 597 597 598 604 613 618 625 627 634 656 662 672 678 682 697 703 710 726 751 752 771 799 802 805 828 845 859 865 868 875 879 887 951 999