1

1 Example

0
function foo() {
    for(var i = 0; i < 5; i++) {
        var bar = function() {
            // whatever
            return;
        }
        bar();
        // after 'bar' returns, we're here and the loop goes on
    }
}
by on

Other Code Examples