ionic-team / ionic-team/ionic-storage
switched args in storage.forEach documentation
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 456
- Forks
- 97
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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) => {
});
```
Beitragsleitfaden
Rechercherichtung
Start with the documentation section titled "To enumerate the stored key/value pairs" and verify the callback argument order against the storage.forEach API usage shown in the issue. Done means the example documents value, key, and index in the valid order.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100