Beautiful!
For those curious, you can also do this programatically:
...
Options options = new Options( "nashorn", err );
options.set( "print.no.newline", true );
ErrorManager errors = new ErrorManager( err );
Context context = new Context( options, errors, out, err,
Thread.currentThread().getContextClassLoader() );
On 09/09/2013 11:42 PM, Marcus Lagergren wrote:
I don't know, but you can use
--print-no-newline (Print function will not print new line char.)
param: [true|false] default: false
for compatibility.