The write(...) and writeln(...) methods take a comma-separated list of string expressions |
The open() and close() methods (not to be confused with window.open() and window.close()) open and close a document for writing, but these are seldom used explicitly |