Skip to content

switched args in storage.forEach documentation #320

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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