console.log already outputs a newline

print() used to use sys.print which didn’t append a \n, but console.log
does.