Javascript File write

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

Writes a string to a file.

Synopsis

write(string)
  • string - data to be written

Example

var fd = new File("/tmp/blah");
fd.write("whee!\n");

See Also