early exit from Nashorn script?

Cantor, Scott cantor.2 at osu.edu
Mon Jan 27 20:07:14 EST 2020


On 1/27/20, 7:00 PM, "users on behalf of Jim Fox" <users-bounces at shibboleth.net on behalf of fox at washington.edu> wrote:

> Every Nashorn script I've seen ends with its return value, e.g., 
> "nextFlow;" in mfa scripts.  Is there a way to exit with a value in the 
> middle of the script?

It seems inconceivable, but I'm not aware of any in any of the Javascript engines.

-- Scott




More information about the users mailing list