Can non-local-returns be implemented in JavaScript, so that you could write something like:
function some_function() {
function some_other_function(value) {
non-local-return true;
}
some_other_function();
return false;
}
true === some_function();
where some_function would return true, then?
Quite simply, no.
(similar question here: let-a-function-return-the-super-function)