Smallest Common Multiple, can't pass the last two tests

https://forum.freecodecamp.org/t/free-code-camp-infinite-loop-protection/19550
this post explains the problem, and gives a solution - however, I don’t think that solution works at the moment on the new website - I don’t know of any other quick solutions, you could try and make your algorithm faster to finish the tests within the time limit