Here is the example from You Don't Know JS:
for (var i=0; i<10; i++) {
try {
continue;
}
finally {
console.log( i );
}
}
// 0 1 2 3 4 5 6 7 8 9
How is it able to print all numbers if continue makes the loop jump over that iteration? To add to that, "console.log(i) runs at the end of the loop iteration but before i++" which should explain why it prints from 0 to 9?