reloop: is a label . They are rarely used and serve a very specific purpose: they allow you to break or continue outer loops from inner loops.
The MDN article on labels explains this better.
Note that shortcuts are very rarely used , and most of the time requiring a shortcut indicates that your code is unclear and needs to be restructured . I have never, ever used a label in javascript .
Avoid them unless they really are the only clean solution for a piece of code that is hard to write. Suppose instead, dividing the code into functions that you can return from.
source share