Two days ago, I completed a Factorial Kata on Codewars!

It went well until I got stuck. As I was looking for the problem, I realized that the code to throw an error only checked if the number was negative, whereas it also had to check if the number was greater than 12. Realizing this, I went back, rewrote the code, and saw that it worked!

Bug Zero Icon

OUR NEWSLETTER