How to make another function aware of the loop name, so it can break it?
You see I have this code. (https://jsfiddle.net/kg4f2bu0/). Inside my iterate function I use a label for my loop, because I want to break it if it meets a condition. The condition gets checked inside the callback function. I want to break the for..of loop inside my callback function (compare). But it doesn’t recognise the statement… Read More How to make another function aware of the loop name, so it can break it?