Skip to content

appulus/fizz-buzz

Repository files navigation

Fizz Buzz

Create a function in typescript that given a number it returns a list that starts with 1 and ends with that number.

Whenever a number in that list is divisible by 3, replace the number with "fizz".

Whenever a number in that list is divisible by 5, replace the number with "buzz".

Whenever a number in that list is divisible by both 3 and 5, replace the number with "fizzbuzz".

Complete the tests to cover all scenarios.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published