Writes the contents of a Table object to a file. Defaults to a text file with comma-separated-values ('csv') but can also use tab separation ('tsv'), or generate an HTML table ('html'). The file saving process and location of the saved file will vary between web browsers.
示例
语法
saveTable(Table, filename, [options])
参数
Table
p5.Table:
the Table object to save to a file
filename
String:
the filename to which the Table should be saved
options
String:
can be one of "tsv", "csv", or "html"
Notice any errors or typos? Please let us know. Please feel free to edit src/io/files.js and open a pull request!