Advertisement
Didart

Numbers from 1 to 100

Apr 2nd, 2022
987
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function numbersFrom1To100() {
  2.  
  3.     for (let digit = 1; digit <= 100; digit++) {
  4.         console.log(digit);
  5.  
  6.     }
  7. }
  8. numbersFrom1To100()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement