FizzBuzz Validator

Trying to catch on the daily coding challenges…

isFizzBuzz([1, 2, "Fizz", 4, 5]) should return false

Why should this return false? 3 is evenly divisible by 3, isn’t it?

Am I missing something?

Hi @dhess

5 is divisible by 5 so should appear as Buzz.

Happy coding

:rofl: Thanks, @Teller, I sure did miss something!