print()

データを改行を追加してプリントストリームに書き込みます。

パラメータdataは書き込むデータです。datamyWriter.print('hi')のような数値や文字列、 またはmyWriter.print([1, 2, 3])のような数値と文字列の配列が 使用できます。配列要素がプリントストリームに追加される際には、 要素間にカンマが挿入されます。

実例

シンタックス

print(data)

パラメーター

data
String|Number|Array:

文字列、数値、または文字列と数値の配列として 書き込まれるデータ。

Notice any errors or typos? Please let us know. Please feel free to edit src/io/files.js and open a pull request!

関連するリファレンス