Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(function(){
    try {
        return;
    } catch(e) {
        print("Caught " + e);
    } finally {
        print("Finally");
        throw "finally-thrown";
    }
})();

It prints:

Finally
Caught finally-thrown
Finally
test.js:8:8 finally-thrown

...