# Fizzbuzz: ultimate javascript1

**URL:** <https://forum.codewithmosh.com/t/fizzbuzz-ultimate-javascript1/18367>\
**Category:** JavaScript\
**Created:** [February 22, 2023, 1:32am UTC](https://forum.codewithmosh.com/t/fizzbuzz-ultimate-javascript1/18367 "2023-02-22T01:32:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oriole](https://avatars.discourse-cdn.com/v4/letter/o/858c86/32.png) [@oriole](https://forum.codewithmosh.com/u/oriole)\
**Post date:** [February 22, 2023, 1:32am UTC](https://forum.codewithmosh.com/t/fizzbuzz-ultimate-javascript1/18367/1 "2023-02-22T01:32:53Z")

</div>

literally typed in exactly what mosh does in the video, instead of fizz or buzz, my console only shows “undefined”. wont work with any other prime numbers.

ive redone it like 6 times and still nothing.

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [February 22, 2023, 4:18am UTC](https://forum.codewithmosh.com/t/fizzbuzz-ultimate-javascript1/18367/2 "2023-02-22T04:18:47Z")

</div>

can you post the code
