You have two nested loops that each execute anyLines.length
times. If there are four lines in the file, the inner loop will execute 16 times.
2
solved Why is this code looping 16 times? [duplicate]
You have two nested loops that each execute anyLines.length
times. If there are four lines in the file, the inner loop will execute 16 times.
2
solved Why is this code looping 16 times? [duplicate]