The print and debug functions can be used to output values.
print("hello");// prints "hello" to stdoutprint(1+2+3);// prints "6" to stdoutletx=42;print(`hello${x}`);// prints "hello42" to stdoutdebug("world!");// prints "world!" to stdout using debug formatting