Fizzbuzz
To start the test runner, open the terminal and run
npm test
Or simply launch the "Test Runner" launch config
FizzBuzz is a game where you enumerate all the numbers from 1 to 100:
- The function returns
- the function returns an array
- the length of the array is 100
- the first number is 1
- the second number is 2
- the third number is Fizz
- the fifth number is Buzz
- the 11th number is 11
- the 15th number is FizzBuzz
- If the number is multiple of 3 you say Fizz
- If the number is a multiple of 5 you say Buzz
- If the number of is a multiple of 3 and 5 you say FizzBuzz
Extension 1
- If the number contains 3 you say Fizz
- If the number contains 5 you say Buzz
- If the number contains 3 and is a multiple of 3 you say FizzFizz
- For 35 you say FizzBuzzBuzz
Extension 2
- For 7 you say Fuzz
- For 11 you say Bizz