write

fun write(buffer: AllowSharedBufferSource, options: FileSystemReadWriteOptions = definedExternally): UInt53(source)

The write() method of the FileSystemSyncAccessHandle interface writes the content of a specified buffer to the file associated with the handle, optionally at a given offset.

MDN Reference