writeln

fun writeln(vararg text: String)(source)

Writes a string of text followed by a newline character to a document.

MDN Reference