Advertisement
Spocoman

03. Numbers from 1 to 5

Jan 10th, 2022
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function numbersFrom1To5() {
  2.     for (let i = 1; i <= 5; i++){
  3.         console.log(i);
  4.     }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement