Skip to content

switched args in storage.forEach documentation #320

@yamihc

Description

@yamihc

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) => {
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions