puts

puts ?-nonewline? ?channelId? string

Writes the string and a newline. The default channel is stdout. In an interpreter with no channels, puts goes to a callback of the host, and stdout and stderr are the only channel names.

Examples

A click on an example runs it in the shell of the page.

Facts