Skip to content

[Object Promise] check is always false #148

@marcog83

Description

@marcog83

Hi, great job
I started using this implementation because of its lightweight. When I tried it in chrome, that has native promises, I wondered why es6promise overwrote native and I saw that polyfill has this check that is always false, because chrome returns [object object]

Object.prototype.toString.call(P.resolve()) === '[object Promise]'

I hope it can help.
Marco

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