How does a return statement inside a try/catch block work?
function example() { try { return true; } finally { return false;
What about this?
doubleReturn(); function doubleReturn() { let sex = 'boy'; try { return sex; console.log('this never gets called...'); } catch (e) {} finally { sex = 'girl'; alert(sex); } }