Skip to content

executeBound on var arg constructors #2214

@megawac

Description

@megawac

As mentioned earlier (#2199), exectueBound doesn't support all of Function.prototype.bind cases on constructors which take variable arguments. As the main implementation of bind no longer uses the native implementation, it's important we fix it.

Lodash currently supports these cases.

var D = _.bind(Date, null, 2015, 05)
new D(10);

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