This kind of code can be confusing for beginners when they start coding:
function doSomething() {
if (somethingElseHappens())
return;
// ...
}
How would you explain this in a real life scenario that could tell how/why this is useful?