fork download
  1. // A simple program to print numbers from 1 to 5
  2.  
  3. for (let i = 1; i <= 5; i++) {
  4. console.log(i);
  5. }
  6.  
Success #stdin #stdout 0.04s 16832KB
stdin
Standard input is empty
stdout
1
2
3
4
5