ionic-team / ionic-team/ionic-storage

switched args in storage.forEach documentation

Open
#320 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
456
Forks
97
PR merge metrics
No merged PRs in 30d

Description

From the documentation, "To enumerate the stored key/value pairs" should be :

```
storage.forEach((key, value, index) => {
});
```
but when I use it, the valid syntaxe is :
```
storage.forEach((value, key, index) => {
});
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.