print() and newlines

Marcus Lagergren marcus.lagergren at oracle.com
Mon Sep 9 08:42:10 PDT 2013


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.



On Sep 9, 2013, at 5:23 PM, Tal Liron <tal.liron at threecrickets.com> wrote:

> There doesn't seem to be a way to open bugs for the project, so I will ask here:
> 
> Why does Nashorn's print() add a newline? That makes it different from any other JavaScript implementation out there.



More information about the nashorn-dev mailing list