Advertisement
Spocoman

09. Numbers from 1 to 10

Dec 22nd, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function numbersFrom1To10() {
  2.    for (let i = 1; i < 11; i++){
  3.        console.log(i);
  4.    }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement