In JavaScript, I avoid using early returns as much as possible, as it makes debugging a bit harder (you end up having to have multiple console.logs, or moving them around above the return, etc), and it's much more explicit that the code below is executing only when this condition is true, rather than implicitly.