Skip to content

Doesn't work with default parameters #3

@aonghusonia

Description

@aonghusonia

With default parameters now available in Node 6 I'd like to start using them but vargs does not work with them because function.length only includes parameters before the first one with a default value. Not sure what the fix might be short of adding an extra parameter to manually specify the function arity.

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