Translations:Extension:Scribunto/Lua reference manual/8417/en

Using $1 will only end the inner loop, which has the practical effect of causing the main loop to continue onto the next iteration.