early exit from Nashorn script?

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


I think what might work is inlining a function declaration that uses return statements inside itself, and then making the script itself end with my_fn(input, custom)

-- Scott




More information about the users mailing list