I’m working on a problem known as Smallest Common Multiple.
Here is my code to fix this.
But I’m getting a message on my console that,
Potential infinite loop detected on line 29.
Tests may fail if this is not changed.
But all of my test cases passed. So, my code is not good enough?