Writes data to the print stream without adding new lines.
The parameter, data
, is the data to write. data
can be a number or string, as in myWriter.write('hi')
, or an array of numbers and strings, as in myWriter.write([1, 2, 3])
. A comma will be inserted between array array elements when they're added to the print stream.
예제
구문
write(data)
매개변수
data
String|Number|Array:
data to be written as a string, number, or array of strings and numbers.
Notice any errors or typos? Please let us know. Please feel free to edit src/io/files.js and open a pull request!