---
title: FileSystemDirectoryHandle.values()
slug: Web/API/FileSystemDirectoryHandle/values
tags:
  - Directory
  - File
  - File System Access API
  - FileSystemDirectoryHandle
  - Iterable
  - Method
browser-compat: api.FileSystemDirectoryHandle.values
---
{{securecontext_header}}{{DefaultAPISidebar("File System Access API")}}

The **`values()`** method of the
{{domxref("FileSystemDirectoryHandle")}} interface returns a new _array iterator_
containing the values for each index in the `FileSystemDirectoryHandle`
object.

## Syntax

```js
FileSystemDirectoryHandle.values();
```

### Parameters

None.

### Return value

A new {{jsxref('Array')}}

## Examples

Todo

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [File System Access API](/en-US/docs/Web/API/File_System_Access_API)
- [The File System Access API:
  simplifying access to local files](https://web.dev/file-system-access/)
