Created
April 24, 2025 05:06
-
-
Save SuperSharkBoiii/157f96c0ee905035584faf8aff806925 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fizzBuzz(start, end, skip){ | |
let myArray = []; | |
for(let i = start;i < end+1; i++){ | |
if (i != skip){ | |
myArray.push(i); | |
} | |
} | |
return myArray; | |
} | |
// DON'T EDIT THE LINE BELOW THIS COMMENT | |
module.exports = fizzBuzz; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment