foreach + break and continue
Iterate over the key value pairs of either an array-like object or a dictionary like object + break and continue constructs.
API
foreach(object, function, [context])
var each = ; var result = ; console; // Prints out [1,2, [1, 2, 3]] ; // When it is required also to break the outer loopvar result = ; console; // Prints out "This value is returned by foreach"