If the shell is in interactive mode, writing
will prematurely send the line to V8 for execution, which then returns
because of the missing body.
However, if one writes
it will correctly prompt for the body of the loop.
The shell should detect the missing body and also wait for the next statement.