println
Prints the value to the console and moves to the next line.
Syntax
println value
Description
Writes the value and adds a newline. Parentheses are optional: println "x" or println("x"). print does not move to the next line.
Example
Loading editor…
Expected output
Hello 42
When to use?
Showing results, debugging.