Skip to content

once.strict(func) documentation incorrect #16

@astellingwerf

Description

@astellingwerf

The example in the documentation on https://github.com/isaacs/once#oncestrictfunc is incorrect: "ReferenceError: msg is undefined."

Since the argument for once is a callback, its argument is likely intended to be log instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions