break for loop after one iteration javascript code example Example: for next loop javasxcrop for (i = 0; i < 5; i++) {}