FileSystem: root property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{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
// tbdSpecifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- File and Directory Entries API
- {{domxref("FileSystem")}}