Skip to content

Why not set bound.prototype = target.prototype directly? #463

@LongTengDao

Description

@LongTengDao

bound.prototype = new Empty();

function f () {}
var b = f.bind({});
new f instanceof b;// true in native, but false in shim

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