Reference print()

print()

Writes data to the print stream with new lines added.

The parameter, data, is the data to write. data can be a number or string, as in myWriter.print('hi'), or an array of numbers and strings, as in myWriter.print([1, 2, 3]). A comma will be inserted between array array elements when they're added to the print stream.

Examples

Syntax

print(data)

Parameters

data
String|Number|Array:

data to be written as a string, number, or array of strings and numbers.

This page is generated from the comments in src/io/files.js . Please feel free to edit it and submit a pull request!

Related References