Finally overrides any return statement from the try/catch.
The function returns
42 and not
finally always gets executed - both for the normal execution flow and errors. In the above code block -
- control flow jumps to
- caller gets 42