Advertisement
Spocoman

07. Numbers from 1 to 5

Jan 12th, 2022
81
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