> The same happens in Java and Python too.
And yet, I expect this will soon appear in those "JS is weird, wtf" listicles.
And yet, I expect this will soon appear in those "JS is weird, wtf" listicles.
I think C# does not allow any flow control in finally blocks, so no continue or break either (well for continue and break they're allowed if the statement they "refer to" is also in the finally block, but flow control can't go through or escape from the block).
Essentially in C# a finally block can only be escaped from by falling off of the block's end.