Skip to content

Commit

Permalink
Update files/en-us/web/api/filesystemdirectoryentry/createreader/inde…
Browse files Browse the repository at this point in the history
…x.md
  • Loading branch information
hamishwillee authored Jun 20, 2024
1 parent 46b6e77 commit c69de50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function readDirectory(directory) {
}
```

This works by calling {{domxref("FileSystemDirectoryReader.readEntries", "readEntries()")}} repetitively to get all the entries in the directory, concatenating each batch to the array. When it returns an empty array, the end of the directory has been reached, and the loop ends.
This works by calling {{domxref("FileSystemDirectoryReader.readEntries", "readEntries()")}} repetitively to get all the entries in the directory, concatenating each batch to the array. When it returns an empty array, all entries have been read, and the loop ends.

## Specifications

Expand Down

0 comments on commit c69de50

Please sign in to comment.