03.01.2019, 22:17
Because it will break (stop) the loop after one iterate.
You should remove the break in your for-loop, also 'return' does already 'break' the loop, so no need for any extra break.
You should remove the break in your for-loop, also 'return' does already 'break' the loop, so no need for any extra break.