Skip to content

Why is slice called with [1] instead of 1? #52

@cdeutsch

Description

@cdeutsch

This isn't an issue, just trying to understand the code (and JS for that matter).

Why is this line called with [1] instead of 1?

var inputs = Array.prototype.slice.call(arguments, [1])

Is it handling some edge case? Didn't have luck Googling it. Thanks

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