Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function numbers1toNwithStep3(input) {
- let n = Number(input[0]);
- for (let index = 1; index <= n; index += 3) {
- console.log(index);
- }
- }
- numbers1toNwithStep3(["10"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement