How get out of a loup?

Question:
How I get out of a loup?

Current behavior:

Desired behavior

Repl link:

code snippet

Hi @LuciaO1 , welcome to the forums!
If your infinite loop is in the Console, try stopping your repl or enter kill 1 in the Shell (to refresh the environment). You can also reload the page.
Hope this helps!

Hi @LuciaO1 !
Has my post above helped you in solving your problem? If so, you can mark it as a Solution. If not, what other problems do you have?