W3cubDocs

/Web APIs

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
root 7 ≤18 50 No 15 11.1 ≤37 18 50 14 11.3 1.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/root