Spocoman

02. Numbers N...1

Dec 23rd, 2021 (edited)
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function num(input) {
  2.   for (let i = Number(input[0]); i > 0; i--) {
  3.       console.log(i);
  4.   }
  5. }
  6.  
Add Comment
Please, Sign In to add comment