createSyncAccessHandle

The createSyncAccessHandle() method of the that can be used to synchronously read from and write to a file.

MDN Reference