FileSystem: root property

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

Value

A FileSystemDirectoryEntry representing the file system's root directory.

Examples

js
// tbd

Specifications

Specification
File and Directory Entries API
# dom-filesystem-root

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
root

See also