The current return statement is not necessary (could be deduced from the source), and is its semantics is incompatible with that of JavaScript, that we are trying to stick to as much as possible. It is also incompatible with future plans to have functions, nested interactions, etc.
On the other hand and for the same reasons, a return statement should be required to return a result from within curly braces.
The current
return
statement is not necessary (could be deduced from the source), and is its semantics is incompatible with that of JavaScript, that we are trying to stick to as much as possible. It is also incompatible with future plans to have functions, nested interactions, etc.On the other hand and for the same reasons, a
return
statement should be required to return a result from within curly braces.