News for hackers. Stuff that matters.
Re:In JS functions, the ‘last’ return wins by voidnullnil on Saturday July 03, 2021 @01:09PM (#27723090)
Blogs about "return" inside "finally" in Java and the likes were common in the 2000s. The fact that languages have so many simple things like this that surprise people indicates that there is a problem somewhere. I'm sure some of the older school languages (like VB maybe) had some insane semantics like an interrupted return will return null, I can't remember them in that much detail.

There are no comments on this comment yet.