Skip to content

Using x > y first in a conditional returns incorrectly #4

@ulricesparra

Description

@ulricesparra

if (1 > 10)
// this runs
else
// this does not

if (10 < 1)
// this doesn't run
else
// this does

if (10 < 1 || 10 > 2)
// this runs
else
// this doesn't

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions