49
rated 0 times
[
50]
[
1]
/ answers: 1 / hits: 67256
/ 14 Years ago, fri, october 1, 2010, 12:00:00
How does a return statement inside a try/catch block work?
function example() {
try {
return true;
}
finally {
return false;
}
}
I'm expecting the output of this function to be true
, but instead it is false
!
More From » return