Skip to content

what the purpose of these code is in file 2.1.2.js? #99

@laodengjuntuan

Description

@laodengjuntuan

image
As described by the function name I guess it is used to check if my promise state is fulfilled
It seems it can be passed without triggering the promise.then.
Even if the promise state is pending, it will still pass the test.
So what the purpose of these code is?

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