Skip to main content

append

Append to a file.

append("path/to/your/file", "Hello!");

Syntax

append(path, data)

Returns

Undefined.

Notes

  • Expects a path to a FILE, not a directory.
  • Will NOT overwrite any existing data in the file.