Today’s challenge

FizzBuzz

easyalgorithmsloopsmodulo
0:00

Problem

Return an array containing strings from 1 to `n`. For multiples of 3 use "Fizz", for multiples of 5 use "Buzz", for multiples of both use "FizzBuzz". Otherwise, use the number as a string.

Your solution
Test results
Click Run tests to check your solution against the test cases.