Issue with Ultimate JavaScript Part 1: Fundamentals Exercise 3-FizzBuzz

Hello everyone. I did everything from video

but result in console olways “not a number”

I tryed to comment out line
if (typeof input !== “Number”) return “Not a number”; and function start to work properly.
What is wrong? Mosh did it the same.

please somebody help me with this one!!! Maby there is somthing with my browser?

I believe the typeof statement returns a lowercase “number” so change “Number” to “number” and I believe that should fix your problem.

thank you! i can’t believe i was so blind

1 Like