Back to Content

FileSystem: root property

files/en-us/web/api/filesystem/root/index.md

latest673 B
Original Source

{{APIRef("File and Directory Entries API")}}

The read-only root property of the {{domxref("FileSystem")}} interface specifies a {{domxref("FileSystemDirectoryEntry")}} object representing the root directory of the file system, for use with the File and Directory Entries API.

Value

A {{domxref("FileSystemDirectoryEntry")}} representing the file system's root directory.

Examples

js
// tbd

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also