This is a simple program:
Conjecture: The program will always terminate for any input x.
Believe it or not? Try to prove or disprove it yourself.
And here is the JavaScript for the above program.