how to put a break in repeat on js code example Example: for next loop javasxcrop for (i = 0; i < 5; i++) {}